Click or drag to resize

ShapeFactoryCreateLinearDimension Method

Create a new instance of length dimension.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract LinearDimensionShape CreateLinearDimension(
	Point2d startPoint,
	Point2d endPoint,
	double projectionLineLength,
	bool horizontal
)

Parameters

startPoint
Type: RootPro.RootProCAD.GeometryPoint2d
representing the coordinates of the origin base point Point2d
endPoint
Type: RootPro.RootProCAD.GeometryPoint2d
representing the coordinates of the base point of the endpoint Point2d
projectionLineLength
Type: SystemDouble
Extension line length (length from the base point to the starting point of the dimension line)
horizontal
Type: SystemBoolean
A value indicating horizontal dimension. True for horizontal dimensions. False for vertical dimension.

Return Value

Type: LinearDimensionShape
Represents a geometry of length dimension LinearDimensionShape
See Also