LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change column width appended using NIReport?

Hi!
I am programmed print function to print a table using NIReport fp. Everythings works fine, but, a column needs more space. But I can not find any command to control that column width. Is there a way to change column width in NIReport fp?
(oh, I am using LabWindows/CVI v6.0
TIA.
0 Kudos
Message 1 of 4
(3,369 Views)
Hello

You might have seen it already, but did the NIReport_TableSetColWidth() function help?

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 4
(3,369 Views)
I found that function just few hours ago, and solved without any problem.
Thank you for your help...

But I found that function in nireport.h!
I can not find that info in any other resources such as documents, fps, sample program, help files. I don't know the reason. In 'select function panel' (you can see this panel to double click the nireport.fp file in project window) there is no info related with tables...

Thanks anyway.
0 Kudos
Message 3 of 4
(3,371 Views)

There is also  the command Excel_SetProperty with attribut Excel_RangeColumnWidth :

Example :

Excel_SetProperty (ExcelRangeHandle, NULL, Excel_RangeColumnWidth, CAVT_VARIANT, CA_VariantDouble(20.13));

0 Kudos
Message 4 of 4
(3,187 Views)