次の方法で共有


PrinterResolution.Y プロパティ

垂直方向のプリンタ解像度を 1 インチあたりのドット数 (dpi) で取得します。

Public ReadOnly Property Y As Integer
[C#]
public int Y {get;}
[C++]
public: __property int get_Y();
[JScript]
public function get Y() : int;

プロパティ値

垂直方向のプリンタ解像度 (dpi)。

解説

Kind プロパティが Custom に設定されていない場合、 Y は既定値の -1 に設定されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

PrinterResolution クラス | PrinterResolution メンバ | System.Drawing.Printing 名前空間