get_n_pages


Description:

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 PrintCompositor.

Returns:

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