Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I set a landscape mode for my print out with the CNIreport?

I am using CNIReport and I was wondering how to set a landscape mode when printting?
0 Kudos
Message 1 of 2
(2,898 Views)
There is a property of the CNiReport object called "Orientation". You just set that property to Landscape using the enumeration provided in the CNiReport class. Here is an example with the full path to the enumeration value:

m_report.SetOrientation(NI::CNiReport::NiReportsPageOrientation::NiReportsLandscape); //m_report is the CNiReport object

Best Regards,

Chris Matthews
National Instruments
Message 2 of 2
(2,898 Views)