01-23-2012 08:47 AM
Hi Forum,
I am encountering a simple problem with DIAdem script: when automatically creating a report, I am not able to change the orientation of my report by script. Code is as follows:
Call ReportMasterLoad("D:\Projects\bdrimmel\iTest\UniPlot\DIAdem\\DIAdem_DRef_Master.TDRM")
Call PicDelete() ' DIAdem Graph löschen
Call ReportMasterAdd("D:\Projects\bdrimmel\iTest\UniPlot\DIAdem\\DIAdem_DRef_Master.TDRM")
Call GraphSheetNew("Pussnelda" & intSheetNo)
PicPageOrient = "portrait"
Call PicUpdate
Changing PicPageOrient would not affect my report layout at all. Is something missing there?
Solved! Go to Solution.
01-24-2012 07:53 AM
Hi MrDan,
Try this:
Disable your masterlayout for this page. After that it should be possible to change the orientation of your layout.
You can try these commands:
NoMasterLayout="TRUE"
PicUseLocalParam="TRUE"
PicPageOrient="portrait"
Hope this helps.
01-24-2012 07:55 AM
I know - this is not directly connected to this problem- but maybe it is of interest for some users:
http://zone.ni.com/reference/en-XX/help/370859H-01/cmdvarlist/cmdvarlist/varlist_report/