| PlatformHelperCreateCursor Method (String) |
Creates a System.Windows.Forms.Cursor instance.
Namespace: DigitalRuneAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public static Object CreateCursor(
string fileName
)
Public Shared Function CreateCursor (
fileName As String
) As Object
public:
static Object^ CreateCursor(
String^ fileName
)
static member CreateCursor :
fileName : string -> Object
Parameters
- fileName
- Type: SystemString
The file path of the cursor file (usually .cur or .ani).
Return Value
Type:
Object
The
System.Windows.Forms.Cursor object or
if
System.Windows.Forms is not available on the target platform.
See Also