BOOL GetPageCount( LPLONG pnFirstPage, LPLONG pcPages );
Return Value
Nonzero if successful; otherwise 0.
Parameters
pnFirstPage
A pointer to the number of the document’s first page. Can be NULL, which indicates the caller doesn’t need this number.
pcPages
A pointer to the total number of pages in the document. Can be NULL, which indicates the caller doesn’t need this number.
Remarks
Call this member function to retrieve the number of pages in the document.
COleDocObjectItem Overview | Class Members | Hierarchy Chart
See Also IPrint::GetPageInfo