PageSettings.PrintableArea Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk