共用方式為


PrinterResolution.X 屬性

定義

它會得到水平印表機的解析度,以每英吋點數表示。

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 結構

適用於

另請參閱