Skip to main content
All docs
V25.1
  • TdxPrinterPage.IgnoreInvalidMarginsBeforePrint Property

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

    Declaration

    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