PrintPageEventArgs.PageMargins Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the margins of the page that is currently printing.

Namespace:  System.Windows.Printing
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property PageMargins As Thickness
public Thickness PageMargins { get; }

Property Value

Type: System.Windows.Thickness
The margins of the page that is currently printing.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.