GET GEO ATTR COLOR

From Macros Wiki
Revision as of 20:46, 2 August 2010 by ConnerO (talk | contribs)
Jump to navigationJump to search

Up

Command

GET_GEO_ATTR_COLOR <geo ref>, <red>, <green>, <blue>


Get the user color attribute associated with a geometry feature.

Parameters

<geo ref>
The reference number of the geometry feature.
<red>
The name of a numeric variable to set to the red component of a color.
This will be a number between 0 and 255
<green>
The name of a numeric variable to set to the green component of a color.
This will be a number between 0 and 255
<blue>
The name of a numeric variable to set to the blue component of a color.
This will be a number between 0 and 255

Example

GET_GEO_ATTR_COLOR 21, RedVal, BlueVal, GreenVal