Click or drag to resize

IconCacheLoadIcon Method (String, Int32, Int32)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Load an icon from the specified file path, with the given hotspot parameters. Returns the index at which the icon was stored.

Namespace:  Telogis.GeoBase.ImageUtils
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static int LoadIcon(
	string filename,
	int hotspot_x,
	int hotspot_y
)

Parameters

filename
Type: SystemString
A path to the file to load.
hotspot_x
Type: SystemInt32
The x hotspot.
hotspot_y
Type: SystemInt32
The y hotspot.

Return Value

Type: Int32
Index number at which the icon was stored.
Remarks
If the icon does not have an alpha channel then the color at 0,0 is used as transparent.
See Also