Print()

Description

Opens the print dialog of the browser to print images.

Syntax

.Print(PrintOption);

Parameters

<bool> PrintOption: By default, it uses the browser print UI. If set it to true, it will open a separate process for the print operation.

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

Remarks

This method opens the browser print dialog to print documents. This dialog will appear in a new browser window.
Typically it is blocked by the browser at the first time, you can choose to 'always allow' the dialog.

Example

//Use browser's print UI 
DWObject.Print()

//Open a print process 
DWObject.Print(true);
Is this page helpful?

Leave a Reply

Your email address will not be published.