MasterDrawComponentCollectionAdd Method (String, Shape, Point2d) |
Add a drawing part definition.
Namespace:
RootPro.RootProCAD
Assembly:
RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax public abstract MasterDrawComponent Add(
string name,
Shape[] shapes,
Point2d origin
)
Public MustOverride Function Add (
name As String,
shapes As Shape(),
origin As Point2d
) As MasterDrawComponent
Parameters
- name
- Type: SystemString
Name of the drawing component definition to be added. - shapes
- Type: RootPro.RootProCADShape
Geometry in the drawing component definition. - origin
- Type: RootPro.RootProCAD.GeometryPoint2d
Reference point for drawing component definition.
Return Value
Type:
MasterDrawComponent MasterDrawComponent representing the added drawing component definition.
See Also