Difference between revisions of "GET GEO USER COLOR"

From Macros Wiki
Jump to: navigation, search
 
Line 5: Line 5:
  
 
|param1=<geo ref>|param1_desc={{geo ref}}
 
|param1=<geo ref>|param1_desc={{geo ref}}
|param2=<red>|param3_desc={{get red}}
+
|param2=<red>|param2_desc={{get red}}
|param3=<green>|param4_desc={{get green}}
+
|param3=<green>|param3_desc={{get green}}
|param4=<blue>|param5_desc={{get blue}}
+
|param4=<blue>|param4_desc={{get blue}}
 
}}
 
}}
  

Latest revision as of 18:31, 23 October 2019

Up

Command

GET_GEO_USER_COLOR <geo ref>, <color_attr>, <red>, <green>, <blue>


Get the user color of 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_USER_COLOR 21, RedVal, BlueVal, GreenVal