PrinterResolutionとは? わかりやすく解説

PrinterResolution クラス

プリンタサポートされ解像度表します

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

<SerializableAttribute> _
Public Class PrinterResolution
Dim instance As PrinterResolution
[SerializableAttribute] 
public class PrinterResolution
[SerializableAttribute] 
public ref class PrinterResolution
/** @attribute SerializableAttribute() */ 
public class PrinterResolution
SerializableAttribute 
public class PrinterResolution
解説解説
使用例使用例

サポートされている解像度comboPrintResolution コンボ ボックス表示するコード例次に示します。例では、printDoc という名前の PrintDocument 変数と、特定のコンボ ボックス存在することを前提にしています。

' 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);
}
継承階層継承階層
System.Object
  System.Drawing.Printing.PrinterResolution
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PrinterResolution メンバ
System.Drawing.Printing 名前空間
PrinterResolutionKind
PrinterSettings
PrinterSettings.PrinterResolutions
PageSettings.PrinterResolution プロパティ

PrinterResolution コンストラクタ


PrinterResolution プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

PrinterResolution クラス
System.Drawing.Printing 名前空間
PrinterResolutionKind
PrinterSettings
PrinterSettings.PrinterResolutions
PageSettings.PrinterResolution プロパティ

PrinterResolution メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

PrinterResolution クラス
System.Drawing.Printing 名前空間
PrinterResolutionKind
PrinterSettings
PrinterSettings.PrinterResolutions
PageSettings.PrinterResolution プロパティ

PrinterResolution メンバ

プリンタサポートされ解像度表します

PrinterResolution データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド PrinterResolution PrinterResolution クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

PrinterResolution クラス
System.Drawing.Printing 名前空間
PrinterResolutionKind
PrinterSettings
PrinterSettings.PrinterResolutions
PageSettings.PrinterResolution プロパティ



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

辞書ショートカット

すべての辞書の索引

「PrinterResolution」の関連用語

PrinterResolutionのお隣キーワード
検索ランキング

   

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



PrinterResolutionのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS