PrintCompositor.nPages

Get nPages property.

class PrintCompositor
@property
int
nPages
()

Return Value

Type: int

The number of pages in the document or <code>-1</code> if the document has not been completely paginated.