Partilhar via


PrintPageEventArgs.PrintableArea Property

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

Gets the size of the printable area.

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

Syntax

'Declaration
Public ReadOnly Property PrintableArea As Size
public Size PrintableArea { get; }

Property Value

Type: System.Windows.Size
The size of the printable area in screen pixels. The default is 0.0F.

Remarks

Silverlight provides the conversion between device pixels and screen pixels so that the value of the PrintableArea property represents the printable area, which is typically smaller than the actual paper size. If the dimensions of the printed content exceed the PrintableArea, the printed content is clipped.

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.