BBjPrintPreviewBuilder::secure

Description

In BBj 13.0 and higher, this method sets secure(0) to override the default, removing all document security. This is useful after saving a PDF as the file is not editable by default.

Syntax

Return Value

Method

BBjPrintPreviewBuilder

secure(boolean secure)

Parameters

Variable

Description

secure

Defaults to true; set to 0 to remove security.

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 Assignment

BBj Object Error Handling

BBj Object Operators

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