Use PEGetNPages to retrieve the number of pages in the report. This information can be used to allow the user to display a specific page in a preview window using PEShowNthPage (PEShow...Page), for example.
short CRPE_API PEGetNPages (
short printJob );
Specifies the print job for which you want to determine the number of pages. |
Declare Function PEGetNPages Lib "crpe32.dll" (ByVal printJob As Integer) As Integer
function PEGetNPages (
printJob: Word
): Smallint stdcall;
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |