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