Adjusting Header Widths in Set Report Header Text.viPrimary Software: LabVIEW Development Systems>>LabVIEW Professional Development SystemPrimary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Toolkits>>Report Generation Toolkit for Microsoft Office
Problem: How do I adjust header widths in reports created using the Set Report Header Text VI? Solution: The Set Report Header Text vi calls the Word_Insert_Header VI from the _wordsub.llb LabVIEW library file. This VI automatically creates a table having three columns in the header field of the report. Whatever text is entered in the left/right/center text input of the Set Report Header Text VI gets entered in the corresponding table. If the header text is longer than the default table width, then it gets split into two lines which may be undesirable. To avoid this create a property node for the table width and provide a constant value. This change is made in the Word_Insert_header.vi itself and needs to be saved within the library, since it is used as a strictly typed VI when called. The path to the library file is <labview>\vi.lib\addons\_office.The attached vi contains a modified version of this VI and the screenshot shows the additional change that has been made. Make sure to backup the original VI. Related Links: Attachments:
Report Date: 09/26/2006 Last Updated: 11/01/2006 Document ID: 41P1CKHG |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
