Returns or sets the values for the From text boxes of the Print dialog.
Object.FromPage [ = lFromPage ]
The FromPage property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ACommonDialog |
ACommonDialog control |
|
lFromPage |
Long |
The values for the From text boxes of the Print dialog. |
The FromPage and ToPage properties specify the first and last pages to be printed. These properties are valid only when the acdlgPrintOptionsPageNums flag has been set for the PrintOptions property.
The following example will set the FromPage to the first page:
cdlg1.FromPage=1
Copies, FromPageMin, PrinterDefault, PrintOptions, ShowPrint, ToPage, ToPageMax