How To…Toggle Page Orientation

Question

“How do I toggle the page orientation from the preview window?”

Solution

Create a preview plugin that creates a new button to alter the page orientation of the report and regenerate when clicked.

Download: ToggleOrientationPlugin.zip

Sample Delphi code: