Skip to main content

PrintingSystemBase.AfterMarginsChange Event

Obsolete; the event is not raised.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v26.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public event MarginsChangeEventHandler AfterMarginsChange

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.

See Also