PrintJob QML Type

An instance of this type represents an active print job. More...

Import Statement: import BrickStore 1.0



Detailed Description

Property Documentation

[read-only] pageCount : int

The number of pages added to this print job.

[read-only] paperSize : size

The paper size of a page in mm.

Method Documentation


Request this print job to be aborted.

Note: Control will return back to the next JavaScript statement and you still have to return normally from your extension's PrintingScriptAction::printFunction() function.

PrintPage addPage()

Calling this function adds a new PrintPage to the print job and returns a reference to it for painting.

PrintPage getPage(int index)

Returns a reference to an already added PrintPage at index or null if the index is invalid.

© 2004-2024 Robert Griebl. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. All trademarks are property of their respective owners.