Landscape プロパティで指定した用紙方向が考慮された、ページのサイズを取得します。
Public ReadOnly Property Bounds As Rectangle
[C#]
public Rectangle Bounds {get;}
[C++]
public: __property Rectangle get_Bounds();
[JScript]
public function get Bounds() : Rectangle;
プロパティ値
ページの長さと幅 (1/100 インチ単位) を表す Rectangle 。
例外
例外の種類 | 条件 |
---|---|
InvalidPrinterException | PrinterSettings.PrinterName プロパティで指定されたプリンタが存在しません。 |
解説
このプロパティを Margins プロパティと共に使用して、ページの印刷領域を計算します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
PageSettings クラス | PageSettings メンバ | System.Drawing.Printing 名前空間 | Margins | Rectangle