|
Previous Top Next |
Prototype: | (REPORT pReport, PrintPreviewFileQueue pQ, <String pSearchString>) |
pReport | Reference to the report structure/label |
pQ | Reference to the image queue used by the report |
pSearchString | String to search for in the report metafile. This must be a unique string that is unlikely ever to be found in a metafile. |
This method initializes the Page of Pages class and once this method has been called the SetPageOfPages can be called. This method should be called after the report has been opened and before the preview is called. The method takes the label of the report as the first parameter, then the image queue being used by the report engine. The last parameter is a string that is later replaced with the total page number in the SetPageOfPages method.
Example:
ITPoP ITPageOfPagesClass
CODE
ITPoP.Init(Report,SELF.PreviewQueue,'?PPPP?') ! Initialize using '?PPPP?'
See also: