Determining Device Capabilities
Once you have created a device context for a particular output device, you
can determine the capabilities of that device by calling DevQueryCaps. This
function retrieves the following information:
- Device technology (whether the device is a raster
or vector device)
- Maximized window dimensions (if the device is a video
display)
- Page dimensions (if the device is a printer or plotter)
- Character-box dimensions
- Marker-box dimensions
- Pel resolution
- Color capabilities
- Mix-mode capabilities
You can use this information, for example, to select fonts, set up the presentation
page, or create a new logical color table.
[Back: Closing a Device Context]
[Next: Paths]