DX9ToolsR4 - Created by: X

GeneralHelpers.ModeAvailible Method (Device, Int32, Int32, Int32)

Checks to see if a specific direct draw display mode is availible.

[Visual Basic]
Overloads Public Shared Function ModeAvailible( _
   ByVal Device As Device, _
   ByVal Width As Integer, _
   ByVal Height As Integer, _
   ByVal BitCount As Integer _
) As Boolean
[C#]
public static bool ModeAvailible(
   Device Device,
   int Width,
   int Height,
   int BitCount
);

Parameters

Device
Missing <param> documentation for Device
Width
The width of the display mode.
Height
The height of the display mode.
BitCount
The bitcount of the display mode. For example you would specify 16 for a 16bit color mode etc.

Return Value

Will return True if the mode is available else False if it is not.

See Also

GeneralHelpers Class | CBX.Libs.DX9ToolsR4 Namespace | GeneralHelpers.ModeAvailible Overload List