Επεξεργασία

Κοινή χρήση μέσω


PageSettings.PrintableArea Property

Definition

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

public:
 property System::Drawing::RectangleF PrintableArea { System::Drawing::RectangleF get(); };
public System.Drawing.RectangleF PrintableArea { get; }
member this.PrintableArea : System.Drawing.RectangleF
Public ReadOnly Property PrintableArea As RectangleF

Property Value

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

Remarks

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.

Applies to