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
)
Public MustOverride Function PointToText (
point As Point2d,
formatType As LengthUnitFormatType,
precision As Integer,
visibleZero As Boolean
) As String
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:
StringA string (x, y) representing the specified point coordinate value (empty on error).
See Also