Click or drag to resize
CMVIEWiColor Method
Get a color from a colour string label

Available since Oasis montaj version: 5.0.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Colour 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 colour model, RGB, CMY, HSV or K. For example "R", "R127G22", "H255S127V32" Characters are not case sensitive.
Syntax
public static int iColor(
	string str1
)

Parameters

str1
Type: SystemString
colour name string

Return Value

Type: Int32
colour int
See Also