Click or drag to resize
CGUIiColorForm Method
Select a color.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Color value is set on input, and new value returned. If the input color type is <define>C_TRANSPARENT</define>, then the color is set to white, if any other type is input the output is guaranteed to be of the same type. If no_col is 1, then on exit, if white is selected, the user is prompted: 'Do you want white (Yes) or "None" (No) ?' and the color is converted as requested. If this is not the case, the <define>C_TRANSPARENT</define> is converted to white (if "Ok" is selected) and no choice is offered.
Syntax
public static int iColorForm(
	CGXNETCore gxNetShared,
	ref int col,
	int no_col
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
col
Type: SystemInt32
Color (modified)
no_col
Type: SystemInt32
Ask about <define>C_TRANSPARENT</define> if white is selected (1: yes, 0: no)?

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also