Maptitude GISDK Help

GetFillColor()

Summary

Returns the color used to fill area features.

 

Syntax

c = GetFillColor(string lyr_set_name)

 

Argument Contents
lyr_set_name The name of the layer or selection set

 

Returns

A color (red, green, blue, and alpha).

 

Notes

Example

// Make States use the same fill color as Counties...

SetFillColor("States|", GetFillColor("Counties|"))

 

Error Codes

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

 

See Also

Function Summary
SetFillColor() Sets the color used to fill area features
GetFillStyle() Returns the style used to fill area features

 

 

©2025 Caliper Corporation www.caliper.com