Click or drag to resize
CGUIIiColorTransformEx Method (CGXNETCore, CITR, CST, Int32, Int32, String, Int32)
Define an ITR of up to 12 zones, with file load/save buttons.

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

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The statistics object is required in order to determine data ranges, percentiles, etc. Create it using CreateExact_ST, or be sure to enable histogram statistics. The color transform file name is used as the default when the save button is pushed, and is updated both after the load and save buttons are pushed by the value input or selected by the user.
Syntax
public static int IiColorTransformEx(
	CGXNETCore gxNetShared,
	CITR itr,
	CST st,
	int zones,
	int load_save,
	ref string file,
	int size
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
itr
Type: GeoEngine.Core.GXNetXCITR
ITR object (modified)
st
Type: GeoEngine.Core.GXNetXCST
ST object (input)
zones
Type: SystemInt32
Max number of zones (8 or 12)
load_save
Type: SystemInt32
Show file load/save buttons (TRUE or FALSE)?
file
Type: SystemString
Default color transform file name
size
Type: SystemInt32
Buffer size for the file name

Return Value

Type: Int32
0 if OK 1 if user cancels
See Also