PrinterResolution.X 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
它會得到水平印表機的解析度,以每英吋點數表示。
public:
property int X { int get(); void set(int value); };
public:
property int X { int get(); };
public int X { get; set; }
public int X { get; }
member this.X : int with get, set
member this.X : int
Public Property X As Integer
Public ReadOnly Property X As Integer
屬性值
水平印表機解析度(以每英吋點數計)若 Kind 設為 Custom;否則為 dmPrintQuality 值。
備註
dmPrintQuality 是(裝置模式)結構的成員 DEVMODE ,該結構定義了對應到印表機品質設定的常數。 若 設為 ,KindMediumDMRES_LOWDMRES_MEDIUMKind則 ,DMRES_HIGHKind若 ,DMRES_DRAFTDraftLowKind則 ,且 ,若 ,則HighX
欲了解更多資訊,請參閱 DEVMODE 結構。