BackPrevious Page Next PageNext

Viewing Report Pages

Browsing the pages

You can use the following methods to browse the report pages:

The return value of the above methods is a string, and can be: "OK", "No more page" or other error messages such as "No report load".

Getting the page orientation

To get the orientation of the report pages, use the method getPageOrientation(). You should call this method after calling the runReport method. The return value is an int value, and can be LANDSCAPE or PORTRAIT. If it is -1, it makes no sense, and is incorrect. For example, you may have called it before calling runReport method.

Zooming the pages

If you want to zoom in or out of the report pages, there is a method named zoom(ratio) that will meet this requirement.

Parameter

For example, if you want to enlarge the report pages by two times the original size, you can use the method in this way: zoom(200)

To reduce the report size by half, use the method in this way: zoom(50)

BackPrevious Page Next PageNext