ArcFM Engine Developer Guide
LoadIcon(Assembly,String,String) Method


The assembly containing the resource.
The name of the icon to retrieve.
The subfolder where the resource is located. If no subfolder, use empty string.
Retrieves an icon from an assembly's resources section.
Syntax
'Declaration
 
Public Overloads Shared Function LoadIcon( _
   ByVal assembly As Assembly, _
   ByVal iconName As String, _
   ByVal subFolder As String _
) As Icon
'Usage
 
Dim assembly As Assembly
Dim iconName As String
Dim subFolder As String
Dim value As Icon
 
value = Imaging.LoadIcon(assembly, iconName, subFolder)
public static Icon LoadIcon( 
   Assembly assembly,
   string iconName,
   string subFolder
)

Parameters

assembly
The assembly containing the resource.
iconName
The name of the icon to retrieve.
subFolder
The subfolder where the resource is located. If no subfolder, use empty string.

Return Value

The desired icon.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Imaging Class
Imaging Members
Overload List

 

 


Send Comment