DX9ToolsR4 - Created by: X | |
DX9Graphics Constructor (Control, Int32)
Creates a new instance of this class.
[Visual Basic]Overloads Public Sub New( _
ByVal
Target As
Control, _
Optional ByVal
Adapter As
Integer = 0 _
)
[C#]public DX9Graphics(
Control Target,
int Adapter);
Parameters
- Target
- Reference to the control that the DX9Graphics class will render to.
- Adapter
- The index of the display adapter to use.
Exceptions
Exception Type | Condition |
---|
Exception |
Will throw a standard Exception if the mode is not availible.
|
See Also
DX9Graphics Class | CBX.Libs.DX9ToolsR4 Namespace | DX9Graphics Constructor Overload List