 | CGUIIiCumulativePercent Method (String, Int32, CITR) |
Define a percent-based ITR of up to 12 zones.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int IiCumulativePercent(
ref string file,
int size,
CITR itr
)
public static int IiCumulativePercent(
ref string file,
int size,
CITR itr
)
Public Shared Function IiCumulativePercent (
ByRef file As String,
size As Integer,
itr As CITR
) As Integer
Public Shared Function IiCumulativePercent (
ByRef file As String,
size As Integer,
itr As CITR
) As Integer
public:
static int IiCumulativePercent(
String^% file,
int size,
CITR^ itr
)
public:
static int IiCumulativePercent(
String^% file,
int size,
CITR^ itr
)
static member IiCumulativePercent :
file : string byref *
size : int *
itr : CITR -> int
static member IiCumulativePercent :
file : string byref *
size : int *
itr : CITR -> int
Parameters
- file
- Type: SystemString
Default color transform file name - size
- Type: SystemInt32
Buffer size for the file name - itr
- Type: GeoEngine.Core.GXNetCITR
ITR object (returned)
Return Value
Type:
Int32
0 if OK
1 if user cancels
Remarks
The ITR values are interpreted as cumulative percent values, using
the "PERCENT=1" value in the ITR's REG.
Note that processes using ITRs do not automatically know to convert between
percent values and "actual" data values. The REG "PERCENT" value is simply
a flag to indicate to a user that the values are intended to be in the range
from 0 < x < 100. The ITR should not, therefore, be applied directly to data
unless that data is already given in percent.
If the file name is defined on input, the initial ITR will be loaded from it.
If it is left blank, a default 5-color transform with
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.
See Also