NetXP 3.0 Reference

Resources.LoadIcon Method (Type, String, Size)

Loads an icon from a given assembly and icon file name, with the specified size.

[Visual Basic]
Overloads Public Shared Function LoadIcon( _
   ByVal assemblyType As Type, _
   ByVal iconName As String, _
   ByVal iconSize As Size _
) As Icon
[C#]
public static Icon LoadIcon(
   Type assemblyType,
   string iconName,
   Size iconSize
);

Parameters

assemblyType
The assembly.
iconName
The icon file name.
iconSize
The size of the icon image to load.

Return Value

The icon.

See Also

Resources Class | NETXP.Library Namespace | Resources.LoadIcon Overload List