09-17-2009 11:02 AM
Set Report Header Text with header placement: Append to Body, will place the text in center for HTML report type, but not for the Standard report. When I look into the NI_Standard Report.lvclass I can see that the case "Append to Body" uses the Invoke node AppendText while the "Top of Document" case invokes the node SetHeader.
Are there a way to center the text of the Report Header Text for the Standard report when using Append to Body? An elegant solution would be to invoke the class node and use the SetHeader as in Set Report Header, but I don't know how to get the reference for the class.
Ole
09-17-2009 12:23 PM
09-17-2009 01:45 PM
Thank you,
Here are Header.vi and RinghalsLogo.gif. When you run the VI with report type HTML the output Report.html, will have a centered header. When you select Standard as the report type, the header text is left adjusted in the printed output.
The Header.vi and RinghalsLogo.gif should be in the same folder.
Ole
09-17-2009 03:48 PM
09-17-2009 05:50 PM
Yes thank you,
but the problem is when I want to have the header below the logotype and have to select Append to Body instead of Top of Document. The Set Report Header Text behaves differently for these two cases and I would like to have the same behaviour.
Ole