GetFillStyle()

Summary

Returns the style used to fill area features.

Syntax

sty = GetFillStyle(string lyr_set_name)

Argument Contents
lyr_set_name The name of the layer or selection set

Returns

A fill style.

Notes

  • GetFillStyle() returns null if used on a selection set that does not have a defined fill color.

Example

// Make States use the same fill style as Counties...
SetFillStyle("States|", GetFillStyle("Counties|"))

Error Codes

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

See Also

Function Summary
FillStyle() Creates a new fill style
SetFillStyle() Sets the style used to fill area features
GetFillColor() Returns the color used to fill area features
GetFillStyleDefinition() Returns an array defining the fill style
GetFillStyleTransparency() Determines whether or not a fill style is transparent