How to get the report "Layout preference" with engine API [message #1006821] |
Sat, 02 February 2013 12:19  |
donino donino Messages: 183 Registered: July 2011 |
Senior Member |
|
|
Hi,
I would need to check with the report engine API if a report has been set to "auto" or "fixed" (layout preference property).
I found with a IReportRunnable object we can get this:
IReportRunnable reportDesign;
...
reportDesign.getDesignHandle().getDesignHandle().getLayoutPreference();
However this way is deprecated and returns null, it is said here we must use a moduleHandle instead:
reportDesign.getDesignHandle().getModuleHandle().*
This moduleHandle has tons of methods, but not a "getLayoutPreference()" .
Please is there a way to get this property with the report engine API?
Thanks
[Updated on: Sat, 02 February 2013 12:22] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02371 seconds