PtrDevice:FromPage Access/Assign
<< Click to Display Table of Contents >> PtrDevice:FromPage Access/Assign |
![]() ![]() ![]() |
Type | Word |
Purpose
To get/set the PRINTDLG.nFROMPAGE member.
The access returns the PRINTDLG structure nFROMPAGE member. When queried after the Print Dialog Window is shown, it indicates the first page the user wants to print.
This assign sets the PRINTDLG structure nFROMPAGE member. When set before the Print Dialog Window is presented, it sets the default Print From Page value.
Example
// What page does the user want to start on?
oPtrDevice:ShowPrintDlg()
nFromPage := oPtrDevice:FromPage
Note: | Page range restricted printing is handled automatically by the PtrDevice class. |