GetIconSize()

Summary

Gets the point size of the symbol used to draw point features.

Syntax

sz = GetIconSize(string lyr_set_name)

Argument Contents
lyr_set_name The name of the layer or selection set

Returns

A real number indicating the size in points.

Notes

  • GetIconSize() returns null if called on a selection set that does not have a defined point size.

Example

sz = GetIconSize("Cities|")
sel_sz = GetIconSize("Cities|Selection")

Error Codes

Error Type Meaning
NotFound The layer or selection set does not exist

See Also

Function Summary
SetIconSize() Sets the point size of symbols used to draw point features
GetIcon() Gets the font and character or bitmap used to draw point features
GetIconColor() Gets the color used to draw point features