inpagelist_check_page_number_.htm
Navigation: ABC Library Reference > PrintPreviewClass > PrintPreviewClass Methods >====== InPageList (check page number) ====== | |
InPageList( page )
InPageList | Evaluates page against value(s) in PagesToPrint. |
page | An integer constant, variable, EQUATE, or expression containing the page number to check. |
The InPageList method evaluates a page number against the value(s) contained in the PagesToPrint property, and returns TRUE (1) if the page is in PagesToPrint or FALSE (0) if it is not.
Implementation:
The PageManagerClass.Draw (which is PRIVATE) and SyncImageQueue methods call the InPageList method to verify report pages for inclusion in the preview window and the printed report respectively.
Return Data Type: BYTE
Example:
PrintPreviewClass.SyncImageQueue PROCEDURE
i LONG,AUTO
CODE
LOOP i = RECORDS(SELF.ImageQueue) TO 1 BY -1
IF ~SELF.InPageList(i)
SELF.DeleteImageQueue(i)
END
END
See Also: PagesToPrint
inpagelist_check_page_number_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1