Enum WinGDI.DeviceCapability
Device parameters for GetDeviceCaps(IntPtr, DeviceCapability).
public enum WinGDI.DeviceCapability
Fields
ASPECTX = 40
Length of the X leg
ASPECTXY = 44
Length of the hypotenuse
ASPECTY = 42
Length of the Y leg
BITSPIXEL = 12
Number of bits per pixel
BLTALIGNMENT = 119
Preferred blt alignment
CLIPCAPS = 36
Clipping capabilities
COLORMGMTCAPS = 121
Color management caps
COLORRES = 108
Actual color resolution
CURVECAPS = 28
Curve capabilities
DESKTOPHORZRES = 118
Vertical height of entire desktop in pixels
DESKTOPVERTRES = 117
Horizontal width of entire desktop in pixels
DRIVERVERSION = 0
Device driver version
HORZRES = 8
Horizontal width in pixels
HORZSIZE = 4
Horizontal size in millimeters
LINECAPS = 30
Line capabilities
LOGPIXELSX = 88
Logical pixels/inch in X
LOGPIXELSY = 90
Logical pixels/inch in Y
NUMBRUSHES = 16
Number of brushes the device has
NUMCOLORS = 24
Number of colors the device supports
NUMFONTS = 22
Number of fonts the device has
NUMMARKERS = 20
Number of markers the device has
NUMPENS = 18
Number of pens the device has
NUMRESERVED = 106
Number of reserved entries in palette
PDEVICESIZE = 26
Size required for device descriptor
PHYSICALHEIGHT = 111
Physical height in device units
PHYSICALOFFSETX = 112
Physical printable area x margin
PHYSICALOFFSETY = 113
Physical printable area y margin
PHYSICALWIDTH = 110
Physical width in device units
PLANES = 14
Number of planes
POLYGONALCAPS = 32
Polygonal capabilities
RASTERCAPS = 38
Bitblt capabilities
SCALINGFACTORX = 114
Scaling factor x
SCALINGFACTORY = 115
Scaling factor y
SHADEBLENDCAPS = 120
Shading and blending caps
SIZEPALETTE = 104
Number of entries in physical palette
TECHNOLOGY = 2
Device classification
TEXTCAPS = 34
Text capabilities
VERTRES = 10
Vertical height in pixels
VERTSIZE = 6
Vertical size in millimeters
VREFRESH = 116
Current vertical refresh rate of the display device (for displays only) in Hz