BBjPrintPreviewBuilder::maximize

Description

In BBj 13.0 and higher, this method maximizes the Print Preview window after opening.

Syntax

Return Value

Method

BBjPrintPreviewBuilder

maximize(boolean maximize)

Parameters

Variable

Description

maximize

Defaults to false.

Return Values

Returns the BBjPrintPreviewBuilder so you can continue configuration.

Remarks

None.

Example

Copy
REM Preview the document

REM Obtain the instance to the BBjAPI object
myAPI!=BBjAPI()

REM Obtain an instance of a default BBjPrinter object
LET myBBjPrinter!=myAPI!.getBBjPrinter(0)

REM Get BBjForm for the selected printer
LET myBBjForm!=myBBjPrinter!.getForm(1)

REM Preview the document
myBBjForm!.preview()

RELEASE

See Also

BBjAPI

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.