CursorFromResource Method (String, Type) |
Loads a bitmap from a resource in the same assembly as the specified type
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Cursor FromResource(
string resourceName,
Type type
)
Public Shared Function FromResource (
resourceName As String,
type As Type
) As Cursor
static member FromResource :
resourceName : string *
type : Type -> Cursor
Parameters
- resourceName
- Type: SystemString
Full name of the resource in the type's assembly. E.g. "MyProject.SomeFolder.YourFile.extension" - type
- Type: SystemType
Type of the assembly to get the resource.
Return Value
Type:
CursorThe bitmap instance.
See Also