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

Available since Oasis montaj version: 8.2
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
To allow for expansion, all parameters are passed inside the REG object. BAR_ORIENTATION one of MVU_ORIENTATION_XXX (DEFAULT = <define>MVU_ORIENTATION_VERTICAL</define>) 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 color bar) (DEFAULT = 4) BAR_WIDTH width (mm) (short dimension) of the color 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 color 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 = <define>MVU_DIVISION_STYLE_LINES</define>)
Syntax
public static void ColorBarREG(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	CITR itr,
	CITR itr2,
	CREG reg
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
mview
Type: GeoEngine.Core.GXNetXCMVIEW
View
itr
Type: GeoEngine.Core.GXNetXCITR
Itr
itr2
Type: GeoEngine.Core.GXNetXCITR
Optional 2nd Itr (can be null)
reg
Type: GeoEngine.Core.GXNetXCREG
Parameters
See Also