Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPrinterPage.IgnoreInvalidMarginsBeforePrint Property

Specifies if the parent component printer validates page margin settings before a print operation.

#Declaration

Delphi
property IgnoreInvalidMarginsBeforePrint: TdxDefaultBoolean read; write; default bDefault;

#Property Value

Type Default Description
TdxDefaultBoolean bDefault
bDefault
The parent component printer ignores invalid page margins only if the cpoIgnoreInvalidPageMarginsBeforePrint flag is present in the Options property value.
bTrue

Page margin validation is explicitly disabled.

The parent component printer always ignores invalid page margins for the current report link.

bFalse

Page margin validation is explicitly enabled.

The parent component printer always validates page margins for the current report link and displays a warning if one of the margins is outside the printable area of the current printer.

#Remarks

A TdxComponentPrinter component 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.

You can set the IgnoreInvalidMarginsBeforePrint property to bFalse or bTrue to explicitly enable or disable page margin validation for the current report link.

#Default Value

The IgnoreInvalidMarginsBeforePrint property’s default value is bDefault.

The default IgnoreInvalidMarginsBeforePrint property value indicates that the parent component printer ignores invalid page margins for the current report link only if the cpoIgnoreInvalidPageMarginsBeforePrint flag is present in the Options property value.

See Also