ShapeCollectionAddDrawComponent Method |
Add drawing parts.
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 AddDrawComponent(
MasterDrawComponent master,
Point2d point,
double scaleX,
double scaleY,
double angle,
bool emptyLayer
)
Public MustOverride Function AddDrawComponent (
master As MasterDrawComponent,
point As Point2d,
scaleX As Double,
scaleY As Double,
angle As Double,
emptyLayer As Boolean
) As DrawComponentShape
Parameters
- master
- Type: RootPro.RootProCADMasterDrawComponent
MasterDrawComponent - 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) - emptyLayer
- Type: SystemBoolean
A value indicating whether there is no layer. True if there is no layer. Otherwise false.
Return Value
Type:
DrawComponentShape representing the drawing part
DrawComponentShape See Also