getPageOptions

getPageOptions(documentType: Integer output;
               orientation:  Integer output;
               copies:       Integer output;
               topOfPage:    Integer output;
               bottomOfPage: Integer output;
               leftMargin:   Integer output;
               rightMargin:  Integer output;
               borderWidth:  Integer output;
               collate:      Boolean output;
               duplex:       Integer output);

The getPageOptions method of the JadeReportWriterReport class obtains the current Printer class attributes relating to paper size values to be used when running the report and directing output to the default printer.

These values were set when the report was designed by using the appropriate controls in the JADE Report Writer Designer application Report Properties dialog.

If you want to override these values at run time, you can call the setPageOptions method and pass as parameters the paper size values that you require.

The parameters for the getPageOptions method are listed in the following table.

Parameter Contains the…
documentType Printer form type (for details, see the Printer class documentType property)
orientation Orientation of your printed output (for details, see the Printer class orientation property)
copies Number of copies to be printed (for details, see the Printer class copies property)
topOfPage Margin at the top of the printed page of output (for details, see the Printer class topOfPage property)
bottomOfPage Margin at the bottom of the printed page of output (for details, see the Printer class bottomOfPage property)
leftMargin Left margin of the printed page of output (for details, see the Printer class leftMargin property)
rightMargin Right margin of the printed page of output (for details, see the Printer class rightMargin property)
borderWidth Width of a border that is to be printed around report pages (for details, see the Printer class pageBorderWidth property)
collate Collation setting for print output; that is, whether the copies are printed in proper binding order by separating copies into groups (for details, see the Printer class collate property)
duplex Duplex setting for the report output; that is, the number of sides on which the paper is printed (for details, see the Printer class duplex property)