LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems of using report function in cvi 6

Hello ,

For using report function in cvi programming , I have some problems to understand :

1,To NIReport_TableSetColWidth (reportHandle, colIndex, colWidth); what is the width measure unit ?
2,How to auto switch a new page ,when there are more than one page contents ?

David
0 Kudos
Message 1 of 2
(2,860 Views)
1) The units are either inches or centimeters depending on which Measurement System you are using. (by default, it's in inches) You can read more about this in the help for the Measurement System property under the SetReportAttribute function.

2) I'm not sure I understand the question. If you want to go to a new page somewhere in a report, you can call NIReport_NewPage. Otherwise, the report will break the pages when printing based on the length of the report and the report attributes (such as margins and the fonts that you are using).

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,860 Views)