[]
Gets the maximum width of 0~9 digits in device independent pixel.
double GetDigitWidth(TextFormatInfo textFormat)
| Type | Name | Description |
|---|---|---|
| TextFormatInfo | textFormat | Text formats |
| Type | Description |
|---|---|
| double | The maximum width of 0~9 digits. |
Useful formulas for wrapping native implementation which returns pixels:
[Device independent pixel] = Pixel / [DPI Scale]
[DPI Scale] = DPI / 96