Represents a block in a CAD file.
The following tables list the members exposed by the CADBlock type.
Public Constructors
Public Properties
| Name | Description | |
|---|---|---|
|
Box | Gets a three-dimensional box that encloses this CADGroup. (inherited from CADGroup). |
|
Color | Gets or sets a color for the given CADEntity. (inherited from CADEntity). |
|
Converter | Gets or sets a CADConverter associated with this CADObjectEntity. (inherited from CADObjectEntity). |
|
Count | Gets a number of entities contained in the specified CADGroup. (inherited from CADGroup). |
|
EntName | Gets a name of the CADBlock. |
|
EntType | The entity type defined by the EntityType enumeration. (inherited from CADEntity). |
|
Entities | Gets a collection of CAD entities belonging to the given CADGroup. (inherited from CADGroup). |
|
ExtendedData | Provides access to entity extended data (inherited from CADEntity). |
|
Flags | Gets or sets a byte that contains flags for this CADBlock. |
|
Handle | Gets a CADEntity handle. (inherited from CADEntity). |
|
Layer | Gets or sets a layer this CADPlotEntity belongs to. (inherited from CADPlotEntity). |
|
LineType | Gets or sets a linetype of the CADEntity. (inherited from CADEntity). |
|
LineTypeScale | Gets or sets a value equal to a quantity of linetype elements per unit of its length. (inherited from CADPlotEntity). |
|
LineWeight | Gets or sets a thickness of lines for this CADEntity. (inherited from CADEntity). |
|
List | Gets a collection of entities included in the given CADGroup. (inherited from CADGroup). |
|
Name | Gets or sets a CADBlock name read from a CAD file. |
|
Offset | Gets or sets a base point for the coordinate system of this CADBlock. |
|
Selected | Gets or sets a value indicating whether the CADEntity is selected. (inherited from CADEntity). |
|
SpecPaperSpace | Gets or sets SpecPaperSpace parameter |
|
Visibility | Gets or sets a value indicating whether a CADPlotEntity is visible. (inherited from CADPlotEntity). |
|
Visible | Gets or sets a value indicating whether a CADPlotEntity is visible taking into account a state of the layer this CADPlotEntity belongs to. (inherited from CADPlotEntity). |
|
XrefPath | Gets or sets a path to the file containing a CAD image when this CADBlock represents an external reference. |
Public Methods
| Name | Description | |
|---|---|---|
|
AddEntity | Adds the specified entity to this CADBlock. |
|
AssignEntity | Copies an entity |
|
ChangeEntity | Edits current entity by specified offset (inherited from CADEntity). |
|
Clone | Copies an entity (inherited from CADEntity). |
|
Dispose | Releases all resources used by the CADEntity. |
|
DrawEntityTrace | Implements drawing of entity with specified offset to specified Control (inherited from CADEntity). |
|
Equals | (Overloaded) (inherited from Object). |
|
GetBoxPoints | Checks if the CADEntity must be drawn during a drawing cycle. (inherited from CADEntity). |
|
GetHashCode | (inherited from Object). |
|
GetType | (inherited from Object). |
|
Iterate | Invokes the referenced (by the specified delegate) method for each CAD entity belonging to the given CADGroup. (inherited from CADGroup). |
|
Loaded | Loads this CADBlock to the specified CADConverter. |
|
OnDraw | Raises a DrawEvent. (inherited from CADEntity). |
|
ReferenceEquals | (inherited from Object). |
|
RemoveEntityByName | Searches for an entity using its name then removes the entity. (inherited from CADGroup). |
|
SetLType | Sets a linetype for this CADEntity. (inherited from CADEntity). |
|
ToString | (inherited from Object). |
Fields
| Name | Description | |
|---|---|---|
|
DrawEvent | Occurs when the CADEntity is drawn in the CAD image. (inherited from CADEntity). |
See Also