PrinterSettings.PaperSources プロパティ
プリンタで使用できる用紙トレイを取得します。
Public ReadOnly Property PaperSources As _
PrinterSettings.PaperSourceCollection
[C#]
public PrinterSettings.PaperSourceCollection PaperSources {get;}
[C++]
public: __property PrinterSettings.PaperSourceCollection*
get_PaperSources();
[JScript]
public function get PaperSources() :
PrinterSettings.PaperSourceCollection;
プロパティ値
プリンタで使用できる用紙トレイを表す PrinterSettings.PaperSourceCollection 。
解説
PrinterSettings.PaperSourceCollection には、 PaperSource.Kind プロパティを通じて用紙トレイを表す PaperSource インスタンスが格納されていて、 PaperSourceKind 値のいずれかが含まれています。
通常、ページの給紙方法は、 PageSettings.PaperSource プロパティを使用して、 PaperSources コレクションで取得できる有効な PaperSource に設定します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
PrinterSettings クラス | PrinterSettings メンバ | System.Drawing.Printing 名前空間 | PaperSource | PrinterSettings.PaperSourceCollection | InstalledPrinters | PaperSizes | PrinterResolutions | ListControl.DisplayMember