![](../icons/Help.png) | CMVIEWiColor Method |
Get a color from a color string label
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Color strings may be "R","G","B","C","M","Y",
"H","S","V", or "K" or a combination of these
characters, each followed by up to three digits
specifying a number between 0 and 255.
An empty string produce C_ANY_NONE.
You must stay in the same color model, RGB, CMY,
HSV or K.
For example "R", "R127G22", "H255S127V32"
Characters are not case sensitive.
Syntaxpublic static int iColor(
CGXNETCore gxNetShared,
string color
)
Public Shared Function iColor (
gxNetShared As CGXNETCore,
color As String
) As Integer
public:
static int iColor(
CGXNETCore^ gxNetShared,
String^ color
)
static member iColor :
gxNetShared : CGXNETCore *
color : string -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - color
- Type: SystemString
Color name string
Return Value
Type:
Int32Color int
See Also