Bitmap for WinForms
GetPixelsPerDip メソッド (TextRendererBase)

C1.Win.C1DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextRendererBase クラス : GetPixelsPerDip メソッド
The drawing context passed to C1.Util.DX.DirectWrite.TextLayout.Draw_(System.IntPtr,System.IntPtr,System.Single,System.Single).
Gets the number of physical pixels per DIP.
シンタックス
'宣言
 
Public Overridable Function GetPixelsPerDip( _
   ByVal clientDrawingContext As System.Object _
) As System.Single
public virtual System.float GetPixelsPerDip( 
   System.object clientDrawingContext
)

パラメータ

clientDrawingContext
The drawing context passed to C1.Util.DX.DirectWrite.TextLayout.Draw_(System.IntPtr,System.IntPtr,System.Single,System.Single).

戻り値の型

the number of physical pixels per DIP
解説
Because a DIP (device-independent pixel) is 1/96 inch, the pixelsPerDip value is the number of logical pixels per inch divided by 96.
参照

TextRendererBase クラス
TextRendererBase メンバ