Click or drag to resize

ShapeFactoryCreateDrawComponent Method

Create a new instance of the drawing component.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract DrawComponentShape CreateDrawComponent(
	int masterID,
	Point2d point,
	double scaleX,
	double scaleY,
	double angle
)

Parameters

masterID
Type: SystemInt32
ID of the drawing component definition.
point
Type: RootPro.RootProCAD.GeometryPoint2d
Represents the coordinates of the placement point Point2d
scaleX
Type: SystemDouble
A value indicating the magnification in the X direction.
scaleY
Type: SystemDouble
A value indicating the magnification in the Y direction.
angle
Type: SystemDouble
Placement angle (Degree)

Return Value

Type: DrawComponentShape
representing the drawing part DrawComponentShape
See Also