Command: FontPointsToPixels
- Aktualisiert2024-09-12
- 1 Minute(n) Lesezeit
Command: FontPointsToPixels
Command: FontPointsToPixels
Converts a font size into pixel. DIAdem includes the DPI settings of the system.
Input Parameters
FontPoints |
Specifies the font size in points. |
Return Parameters
| ReturnValue | The return value is an Integer variable type. |
The following example assigns new font size to a control:
| VBScript | Python |
Control.Font = -FontPointsToPixels(8) & ",0,0,0,700,0,0,0,0,3,2,1,34,Arial"

