05-19-2014 12:58 AM
If anyone can help me about this problem, I am really gratefull.
05-20-2014 04:13 AM
Hello liumiyangguang!
The Word Report Generation Instrument Driver (<CVI Installation>\toolslib\activex\word) WordRpt_PageOrientation function enforces the page orientation attribute for the entire Word document (i.e. on the page setup handle of the entire document) using Word_GetProperty and Word_SetProperty. This action is similar to selecting the Page Layout » Orientation item in Word.
In order to accomplish what you are proposing, you would have to enforce that attribute for individual pages. However, this is a slightly more advanced operation, which the Word Report Instrument doesn't seem to support.
This is how one would normally perfom the desired effect, manually, in Word:
Best regards!
- Johannes
05-20-2014 08:26 PM
Johannes,
Thanks a lot !
You mean that Word_SetProperty and Word_GetProperty cannot set the orientation of individual pages of the document to either Portrait or Landscape in Labwindows, isn't that right?
Maybe I have to set the property manually in Word.
Thank you very much indeed !