GetDisplayCharSize
(XAPI2000)

Deklaration
Function GetDisplayCharSize () As Integer
Beskrivning
Returnerar teckenstorleken för aktuell bildskärm i pixels per
tum (DPI). För små teckensnitt brukar det vara 96 DPI.
Returvärden
Funktionen returnerar teckenstorleken för aktuell bildskärm
i pixels per tum.
Se även
GetDisplayNumColors,
GetDisplayBitsPerPixel
|
Exempel (VB 6.0)
Label_Colors.Caption = CStr(GetDisplayNumColors())
' Skriv ut antal färger
Label_BPP.Caption = CStr(GetDisplayBitsPerPixel())
' Skriv ut antal färgbitar per pixels
Label_ChrSize.Caption = CStr(GetDisplayCharSize())
' Skriv ut teckenstorlek
|