www.icetips.com  Icetips Utilities Documentation 6/26/2012    

Page Of Pages Class: Init

Previous  Top  Next  


Prototype: (REPORT pReport, PrintPreviewFileQueue pQ, <String pSearchString>)

 

pReportReference to the report structure/label
pQReference to the image queue used by the report
pSearchStringString 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:

SetPageOfPages

SetSearchString

 



Direct link to this page: http://www.icetips.com/manuals/utilities/init_pageofpage.htm