get_n_pages


Description:

[ Version ( since = "2.2" ) ]
public int get_n_pages ()

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

Parameters:

this

a SourcePrintCompositor.

Returns:

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