Click or drag to resize

NumericTextConverterPointToText Method

Converts a point coordinate value to a character string in the specified notation. If the specified notation type is feet-inches, the specified real value is converted as millimeters.

Namespace:  RootPro.RootProCAD.Geometry
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract string PointToText(
	Point2d point,
	LengthUnitFormatType formatType,
	int precision,
	bool visibleZero
)

Parameters

point
Type: RootPro.RootProCAD.GeometryPoint2d
point coordinate value
formatType
Type: RootPro.RootProCADLengthUnitFormatType
Length notation type LengthUnitFormatType .
precision
Type: SystemInt32
Length notation precision 0 ... 8
visibleZero
Type: SystemBoolean
"Display zeros after decimal point" flag

Return Value

Type: String
A string (x, y) representing the specified point coordinate value (empty on error).
See Also