PrintingSystemBase.AfterMarginsChange Event
Obsolete; the event is not raised.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
Event Data
The AfterMarginsChange event's data class is MarginsChangeEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Side | Gets changed page margins. |
Value | Gets or sets the changed margin size in hundredths of an inch. |
Remarks
Anchored controls are automatically adjusted and the document is recreated each time you do any changes in the print preview. Therefore, the AfterMarginsChange
and PageSettingsChanged events no longer occur.
You can set the PreviewOptions.SyncWithReportPageSettings property to Never
to revert to the previous behavior.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AfterMarginsChange event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.