PageSettings.Bounds 属性
定义
public:
property System::Drawing::Rectangle Bounds { System::Drawing::Rectangle get(); };
public System.Drawing.Rectangle Bounds { get; }
member this.Bounds : System.Drawing.Rectangle
Public ReadOnly Property Bounds As Rectangle
属性值
Rectangle,表示页面的长度和宽度(以百分之一英寸为单位)。A Rectangle that represents the length and width, in hundredths of an inch, of the page.
例外
PrinterName 属性中命名的打印机不存在。The printer named in the PrinterName property does not exist.
注解
结合使用 Bounds 属性和 Margins 属性来计算页面的打印区域。Use the Bounds property along with the Margins property to calculate the printing area for the page.