DisplayOverlordMode Class
This class is a simple container for display attributes. DisplayOverlordMode instances can be retrieved from the DisplayOverlordDevice.Mode function to enumerate a video device's capabilities. The DisplayOverlord.Capture method will accept a DisplayOverlordMode instance and attempt to change the display configuration to best match the specified attributes. DisplayOverlordMode instances can be modified or created from scratch as needed.
Properties
Expand All | Collapse All
-
AvailableDepths ( n ) As Integer
Modes returned by the DisplayOverlordDevice.Mode function will fill this array with all color bit-depths available for this display mode. -
AvailableRefreshRates ( n ) As Integer
Modes returned by the DisplayOverlordDevice.Mode function will fill this array with all refresh rates available for this display mode. -
Depth As Integer
Set this to request a specific color bit-depth when capturing a display. Typical values are 8 (256 colors), 16 (thousands of colors), or 32 (millions of colors). Modes returned by the DisplayOverlordDevice.Mode function will always have this set to 0 by default. In this case the DisplayOverlord.Capture method will attempt to preserve the current desktop bit-depth. -
Height As Integer
The mode's height in pixels. -
RefreshRate As Integer
Set this to request a specific refresh rate when capturing a display. Modes returned by the DisplayOverlordDevice.Mode function will always have this set to 0 by default. In this case the DisplayOverlord.Capture method will attempt to preserve the current desktop refresh rate. -
Safe As Boolean
If a mode returned by the DisplayOverlordDevice.Mode function has this flag set to False you should display a confirmation dialog to the user after capturing with this mode. If the user fails to confirm within a short period of time your application should automatically switch back to a known safe mode. -
Stretched As Boolean
Used to identify or request "stretched" modes on Mac OS X. These are standard 4:3 (or near 4:3) aspect modes that are stretched to fill a 16:10 widecreen display. Those same 4:3 modes may also be available in non-stretched variants, showing black bars on either side of the screen. -
Width As Integer
The mode's width in pixels.
Methods
Expand All | Collapse All
-
Clone As DisplayOverlordMode
Returns a new DisplayOverlordMode instance that is an exact copy of this mode.