Click or drag to resize
CMVIEWMeasureText Method
Compute the bounding rectangle in view units of the text using the current attributes.

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

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Area will be 0 if error occured (does not fail). This will return the bounding rectangle as if the text was placed at 0,0 and adjusted according to the current text alignment and angle set for the view. Also see notes for TextSize_MVIEW.
Syntax
public void MeasureText(
	string str1,
	ref double d2,
	ref double d3,
	ref double d4,
	ref double d5
)

Parameters

str1
Type: SystemString
Text string
d2
Type: SystemDouble
X minimum
d3
Type: SystemDouble
Y minimum
d4
Type: SystemDouble
X maximum
d5
Type: SystemDouble
Y maximum
See Also