DX9ToolsR4 - Created by: X

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

Used to help determin what display modes are availible.

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

Parameters

AdapterIndex
The index of the adapter to test.
Width
The width of the display mode to test for.
Height
The height of the display mode to test for.
BitDepth
The bit depth to test for. Only 16bit or 32bit is allowed otherwise argument exception is raised.

Return Value

Returns True if successfull.

See Also

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