PrinterSettings.PaperSourceCollection.Item プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > PrinterSettings.PaperSourceCollection.Item プロパティの意味・解説 

PrinterSettings.PaperSourceCollection.Item プロパティ

指定したインデックスにある PaperSource取得します

名前空間: System.Drawing.Printing
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Overridable ReadOnly
 Default Property Item ( _
    index As Integer _
) As PaperSource
Dim instance As PaperSourceCollection
Dim index As Integer
Dim value As PaperSource

value = instance(index)
public virtual PaperSource this [
    int index
] { get; }
public:
virtual property PaperSource^ default [int]
 {
    PaperSource^ get (int index);
}
/** @property */
public PaperSource get_Item (int index)

パラメータ

index

取得する PaperSource のインデックス

プロパティ
指定したインデックス位置にある PaperSource

使用例使用例
' Add list of paper sources found on the printer to the combo box.
' The DisplayMember property is used to identify the property that will
 provide the display string.
comboPaperSource.DisplayMember = "SourceName"

Dim pkSource As PaperSource
For i = 0 to printDoc.PrinterSettings.PaperSources.Count
 - 1
    pkSource = printDoc.PrinterSettings.PaperSources.Item(i)
    comboPaperSource.Items.Add(pkSource)
Next
// Add list of paper sources found on the printer to the combo box.
// The DisplayMember property is used to identify the property that
 will provide the display string.
comboPaperSource.DisplayMember="SourceName";

PaperSource pkSource;
for (int i = 0; i < printDoc.PrinterSettings.PaperSources.Count;
 i++){
    pkSource = printDoc.PrinterSettings.PaperSources[i];
    comboPaperSource.Items.Add(pkSource);
}
// Add list of paper sources found on the printer to the combo box.
// The DisplayMember property is used to identify the property that
 will provide the display String*.
comboPaperSource->DisplayMember = "SourceName";
PaperSource^ pkSource;
for ( int i = 0; i < printDoc->PrinterSettings->PaperSources->Count;
 i++ )
{
   pkSource = printDoc->PrinterSettings->PaperSources[ i ];
   comboPaperSource->Items->Add( pkSource );
}
// Add list of paper sources found on the printer to the combo box.
// The DisplayMember property is used to identify the property that
// will provide the display string.
comboPaperSource.set_DisplayMember("SourceName");

PaperSource pkSource;
for (int i = 0; i < printDoc.get_PrinterSettings().get_PaperSources().
    get_Count(); i++) {
    pkSource = printDoc.get_PrinterSettings().get_PaperSources().
        get_Item(i);
    comboPaperSource.get_Items().Add(pkSource);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PrinterSettings.PaperSourceCollection クラス
PrinterSettings.PaperSourceCollection メンバ
System.Drawing.Printing 名前空間
PaperSource クラス


このページでは「.NET Framework クラス ライブラリ リファレンス」からPrinterSettings.PaperSourceCollection.Item プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からPrinterSettings.PaperSourceCollection.Item プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からPrinterSettings.PaperSourceCollection.Item プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

PrinterSettings.PaperSourceCollection.Item プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



PrinterSettings.PaperSourceCollection.Item プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS