SourcePrintCompositor.getNPages

Returns the number of pages in the document or -1 if the document has not been completely paginated. Since 2.2

class SourcePrintCompositor
int
getNPages
()

Return Value

Type: int

the number of pages in the document or -1 if the document has not been completely paginated.

Meta