| 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.GXNetAssembly: 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
)
Public Shared Function iColor (
str1 As String
) As Integer
public:
static int iColor(
String^ str1
)
static member iColor :
str1 : string -> int
Parameters
- str1
- Type: SystemString
colour name string
Return Value
Type:
Int32colour int
See Also