TdxCPOption Enum
Enumerates component printer behavior flags.
Declaration
TdxCPOption = (
cpoAutoRebuildBeforePreview,
cpoAutoRebuildBeforePrint,
cpoGenerateReportProgressEvent,
cpoShowHourGlass,
cpoDropStorageModeAfterPreview,
cpoIgnoreInvalidPageMarginsBeforePrint
);
Members
Name | Description |
---|---|
cpoAutoRebuildBeforePreview
|
The component printer automatically rebuilds a report before it is displayed in the Print Preview window. |
cpoAutoRebuildBeforePrint
|
The component printer automatically rebuilds a report immediately before a print operation. |
cpoGenerateReportProgressEvent
|
The component printer raises the OnGenerateReportProgress event during a report build operation. You can handle this event to track the progress of a report build operation. |
cpoShowHourGlass
|
The application shows the Windows wait cursor during time-consuming processes, such as a report build operation. |
cpoDropStorageModeAfterPreview
|
The Print Preview window can display a report imported from a file or stream. If this flag is set, the active report link rebuilds a report from the source component when the Preview Window with an imported report is closed. |
cpoIgnoreInvalidPageMarginsBeforePrint
|
The component printer validates page margins before a print operation. If one or more page margins are outside the printable area according to the current printer settings, the component printer prompts a user to fix affected page margins. If this flag is set, the component printer does not validate page margins before a print operation and displays no warning message. Tip You can set an individual report link‘s PrinterPage.IgnoreInvalidMarginsBeforePrint property to bFalse or bTrue to explicitly enable or disable page margin validation for the report link regardless of the |
Remarks
The TdxCPOption
type enumerates flags that correspond to individual component printer behavior settings. The TCustomdxComponentPrinter.Options property can include any number of TdxCPOption
flags in any combination.
Direct TdxCPOption Type Reference
The TdxCPOptions type references the TdxCPOption
type.