BBjPrintPreviewBuilder::zoom

Description

In BBj 13.00 and higher, this method scales the document to take up more or less space in the preview window; zoom 50 is half size, zoom 200 is double size.

Syntax

Return Value

Method

BBjPrintPreviewBuilder

zoom(double zoom)

Parameters

Variable

Description

zoom

zoom amount as percent

Return Values

Returns the BBjPrintPreviewBuilder so you can continue configuration.

Remarks

None.

Example

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 Creation and Assignment

BBj Object Error Handling

BBj Object Operators

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