This property sets the initial values for the "Print" dialog.
[Visual
Basic] imagekitcontrolname.PrintDraw.Options
[ = Long ]
[Visual C++] [
long =
]imagekitcontrolname.GetPrintDraw().GetOptions()
imagekitcontrolname.GetPrintDraw().SetOptions(long
Val)
Property Value
Value | Explanation |
---|---|
0x4 | Disables the [Selection] radio button (PD_NOSELECTION) |
0x8 | Disables the [Page Range] radio buttons (PD_NOPAGENUMS) |
0x80 | Does not display a warning when there is no default printer (PD_NOWARNING) |
0x800 | Displays the Help button (PD_SHOWHELP) |
0x80000 | Disables the [Print to File] checkbox (PD_DISABLEPRINTTOFILE) |
0x100000 | Does not display the [Print to File] checkbox (PD_HIDEPRINTTOFILE) |
( ) The explanation contained in the parentheses has the same meaning as the constants used by WindowsAPI.
Explanation
The Options property sets the initial values for the "Print" dialog.
This property is used with the PrintDialog method. The values of the Options property in Visual Basic should start with &H instead of 0x. When setting multiple values in this property, please separate them with |, or, Or.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.