GetScreenResolution                              (XAPI2000)

Deklaration VB 6.0
Sub GetScreenResolution (ScreenWidth As Integer, ScreenHeight As Integer)

Deklaration VB.NET
Sub GetScreenResolution (ByRef ScreenWidth As Short, ByRef ScreenHeight As Short)

Beskrivning
Returnerar grafikkortet nuvarande upplösning i pixels. Skärmens bredd returneras via paramtern ScreenWidth och skärmens höjd returneras via parametern ScreenHeight.


Exempel (VB 6.0)

Dim WPX As Integer, HPX As Integer
GetScreenResolution WPX, HPX


Exempel (VB.NET)

Dim WPX As Short, HPX As Short
GetScreenResolution(WPX, HPX)

    
  
SamLogic