IconCacheLoadIcon Method (String, Int32, Int32) | |
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
)
Public Shared Function LoadIcon (
filename As String,
hotspot_x As Integer,
hotspot_y As Integer
) As Integer
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:
Int32Index 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