[]
Gets the number of physical pixels per DIP.
float GetPixelsPerDip(object clientDrawingContext)
| Type | Name | Description |
|---|---|---|
| object | clientDrawingContext | The drawing context passed to C1.Util.DX.DirectWrite.TextLayout.Draw_(System.IntPtr,System.IntPtr,System.Single,System.Single). |
| Type | Description |
|---|---|
| float | 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.