| CGUIIiCumulativePercent Method |
Define a percent-based ITR of up to 12 zones.
Available since Oasis montaj version: 5.0.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.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
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-colour transform with
The colour 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 IiCumulativePercent(
ref string str1,
CITR oITR2
)
Public Shared Function IiCumulativePercent (
ByRef str1 As String,
oITR2 As CITR
) As Integer
public:
static int IiCumulativePercent(
String^% str1,
CITR^ oITR2
)
static member IiCumulativePercent :
str1 : string byref *
oITR2 : CITR -> int
Parameters
- str1
- Type: SystemString
Default colour transform file name - oITR2
- Type: GeoEngine.Core.GXNetCITR
ITR object (returned)
Return Value
Type:
Int32
0 if OK
1 if user cancels
See Also