Export (0) Print
Expand All

PageSettings.PrintableArea Property

Gets the bounds of the printable area of the page for the printer.

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

public RectangleF PrintableArea { get; }

Property Value

Type: System.Drawing.RectangleF
A RectangleF representing the length and width, in hundredths of an inch, of the area the printer is capable of printing in.

The PrintableArea property returns the correct value, whether the page orientation is landscape or portrait.

You can use this property to print outside the margins of the page, but within the printable area.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft