AxHost.GetIPictureFromCursor(Cursor) Method

Definition

Returns an OLE IPicture object corresponding to the specified Cursor.

protected:
 static System::Object ^ GetIPictureFromCursor(System::Windows::Forms::Cursor ^ cursor);
protected static object GetIPictureFromCursor (System.Windows.Forms.Cursor cursor);
protected static object? GetIPictureFromCursor (System.Windows.Forms.Cursor? cursor);
static member GetIPictureFromCursor : System.Windows.Forms.Cursor -> obj
Protected Shared Function GetIPictureFromCursor (cursor As Cursor) As Object

Parameters

cursor
Cursor

A Cursor, which is an image that represents the Windows mouse pointer.

Returns

An Object representing the OLE IPicture object.

Applies to