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

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

PrinterSettings.PrinterResolutionCollection.Item プロパティ

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

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

Public Overridable ReadOnly
 Default Property Item ( _
    index As Integer _
) As PrinterResolution
Dim instance As PrinterResolutionCollection
Dim index As Integer
Dim value As PrinterResolution

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

パラメータ

index

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

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

使用例使用例
' Add list of printer resolutions found on the printer to the combobox.
' The PrinterResolution's ToString() method will be used to provide
 the display string.
Dim pkResolution As PrinterResolution
For i = 0 to printDoc.PrinterSettings.PrinterResolutions.Count
 - 1
    pkResolution = printDoc.PrinterSettings.PrinterResolutions.Item(i)
    comboPrintResolution.Items.Add(pkResolution)
Next
// Add list of printer resolutions found on the printer to the combobox.
// The PrinterResolution's ToString() method will be used to provide
 the display string.

PrinterResolution pkResolution;
for (int i = 0; i < printDoc.PrinterSettings.PrinterResolutions.Count;
 i++){
    pkResolution = printDoc.PrinterSettings.PrinterResolutions[i];
    comboPrintResolution.Items.Add(pkResolution);
}
// Add list of printer resolutions found on the printer to the combobox.
// The PrinterResolution's ToString() method will be used to provide
 the display String.
PrinterResolution^ pkResolution;
for ( int i = 0; i < printDoc->PrinterSettings->PrinterResolutions->Count;
 i++ )
{
   pkResolution = printDoc->PrinterSettings->PrinterResolutions[ i ];
   comboPrintResolution->Items->Add( pkResolution );
}
// Add list of printer resolutions found on the printer to the combobox.
// The PrinterResolution's ToString() method will be used to 
// provide the display string.
PrinterResolution pkResolution;
for (int i = 0; i < printDoc.get_PrinterSettings().
    get_PrinterResolutions().get_Count(); i++) {
    pkResolution = printDoc.get_PrinterSettings().
        get_PrinterResolutions().get_Item(i);
    comboPrintResolution.get_Items().Add(pkResolution);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PrinterSettings.PrinterResolutionCollection クラス
PrinterSettings.PrinterResolutionCollection メンバ
System.Drawing.Printing 名前空間
PrinterResolution クラス


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS