Click or drag to resize
CMVUColorBarREG Method
Create a Color Bar in view

Available since Oasis montaj version: 8.2
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
To allow for expansion, all parameters are passed inside the REG object. BAR_ORIENTATION one of MVU_ORIENTATION_XXX (DEFAULT = MVU_ORIENTATION_VERTICAL) DECIMALS decimals in plotted values (see sFormatStr_GS for rules) (DEFAULT = 1) ANNOFF annotation offset from bar (+/- determines side of the bar left/right and below/above) BOX_SIZE box height (mm) (width for horizontal colour bar) (DEFAULT = 4) BAR_WIDTH width (mm) (short dimension) of the colour bar (DEFAULT = 8) MINIMUM_GAP Minimum space between annotations, otherwise drop annotations (DEFAULT = 0 mm) The actual height is over-estimated, so even with zero gap there will normally always be some space between labels. FIXED_INTERVAL Preset interval for annotations scale (DEFAULT = DUMMY, use colour zones) FIXED_MINOR_INTERVAL Preset minor interval for annotations scale (DEFAULT = DUMMY, if defined must be 1/10, 1/5, 1/4 or 1/2 of FIXED_INTERVAL) X X location (REQUIRED) Y Y location (REQUIRED) POST_MAXMIN Post limit values at ends of the bar (0 or 1)? (DEFAULT = 0) DIVISION_STYLE One of MVU_DIVISION_STYLE_XXX (DEFAULT = MVU_DIVISION_STYLE_LINES)
Syntax
public static void ColorBarREG(
	CMVIEW oMVIEW1,
	CITR oITR2,
	CITR oITR3,
	CREG oREG4
)

Parameters

oMVIEW1
Type: GeoEngine.Core.GXNetCMVIEW
View
oITR2
Type: GeoEngine.Core.GXNetCITR
Itr
oITR3
Type: GeoEngine.Core.GXNetCITR
Optional 2nd Itr (can be null)
oREG4
Type: GeoEngine.Core.GXNetCREG
Parameters
See Also