Click or drag to resize

ShapeCollection Class

Represents a graphics collection.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADShapeCollection

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class ShapeCollection : IList, 
	ICollection, IEnumerable, IEnumerable<Shape>

The ShapeCollection type exposes the following members.

Constructors
  NameDescription
Protected methodShapeCollection
Initializes a new instance of the ShapeCollection class
Top
Properties
  NameDescription
Public propertyCount
Get the number of shapes.
Top
Methods
  NameDescription
Public methodAdd
Add a shape.
Public methodAddAngularDimension
Add angular dimensions.
Public methodAddArc
Add an arc.
Public methodAddArcDimension
Add arc dimension.
Public methodAddBalloon
Add a balloon.
Public methodAddBSplineCurve
Add a B spline.
Public methodAddCircle
Add a circle.
Public methodAddDiameterDimension
Add the diameter dimension.
Public methodAddDrawComponent
Add drawing parts.
Public methodAddDrawGroup
Add a drawing group.
Public methodAddEllipse
Add an ellipse.
Public methodAddEllipseArc
Add an elliptical arc.
Public methodAddHalfInfiniteLine
Add semi-infinite line.
Public methodAddHatch
Add hatching.
Public methodAddImage
Add an image.
Public methodAddInfiniteLine
Add an infinite line.
Public methodAddLead
Add a leader.
Public methodAddLine
Add a line.
Public methodAddLinearDimension
Add the length dimension.
Public methodAddParallelDimension
Add parallel dimensions.
Public methodAddPointMarker
Add a point mark.
Public methodAddPolyline
Add a continuous line.
Public methodAddRadiusDimension
Add radius dimensions.
Public methodAddText(String, Point2d, Double)
Add characters.
Public methodAddText(String, Point2d, Alignment, Double)
Add characters.
Public methodAddTolerance
Add geometric tolerance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Return an enumerator that iterates over the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextShape(Shape)
Get the next figure get.
Public methodGetNextShape(Shape, ShapeTypeFilters)
Get the next figure get.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Delete the specified shape.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Gets or adds shapes (dot marks, lines, circles, characters, dimensions, hatching etc).
See Also