This property sets the initial values for the "Print" dialog.
Property Value
Value | Explanation |
---|---|
poDisablePrintToFile | The [PrintToFile] checkbox cannot be selected. (It is displayed but is gray). This setting is possible only when the poPrintToFile flag is set. |
poHelp | The [Help] button is displayed in the dialog |
poPageNums | Enables the [Page Selection] radio button. |
poPrintToFile | Displays the [Print to File] checkbox in the dialog |
poSelection | Enables the [Selection] radio button |
poWarning | Displays a warning when a print job is sent to a printer that is not installed. |
Explanation
The Options property sets the initial values for the "Print" dialog.
This property is used with the PrintDialog method. The default values of the Options property are all "Off"
For details about the TPrintDialogOptions type, please refer to the Delphi or C++Builder help documentation.
Example
In C++Builder
// All options are off
VImageKit1->PrintDraw->Options.Clear();
// Enables page and selection
VImageKit1->PrintDraw->Options =
VImageKit1->PrintDraw->Options << poPageNums <<
poSelection;
In Delphi
{All options are off}
VImageKit1.PrintDraw.Options := [];
{ Enables page and selection }
VImageKit1.PrintDraw.Options := [poPageNums, poSelection];
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.
Differences from ImageKit7/8/9/10 ActiveX
The type has been changed