Click or drag to resize
CMVUColorBarHor Method
Create a horizontal color bar in view

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

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
The sign of the annotation offset determines whether labels are plotted above or below the colorbar. Labels above are text-justified to the bottom of the text, and labels below are text-justified to the top of the text.
Syntax
public static void ColorBarHor(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	CITR itr,
	int decimal,
	double ann,
	double width,
	double height,
	double x,
	double y,
	int label_orient
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
mview
Type: GeoEngine.Core.GXNetXCMVIEW
View
itr
Type: GeoEngine.Core.GXNetXCITR
Itr
decimal
Type: SystemInt32
Decimals
ann
Type: SystemDouble
Annotation offset from box in mm (negative for labels below).
width
Type: SystemDouble
Box width in mm
height
Type: SystemDouble
Box height in mm
x
Type: SystemDouble
X location (bottom left corner of color boxes) in mm
y
Type: SystemDouble
Y location in mm
label_orient
Type: SystemInt32
<define>COLORBAR_LABEL</define>
See Also