Click or drag to resize

Block Class

Represents a block definition.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Blocks
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class Block : TableObject

The Block type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAttributeDefinitions
Gets the entity list of the block.
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyDescription
Gets or sets the block description.
Public propertyEntities
Gets the entity list of the block.
Public propertyFlags
Gets the block-type flags (bit-coded values, may be combined).
Public propertyHandle
Gets the handle assigned to the dxf object.
(Inherited from DxfObject.)
Public propertyIsReserved
Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject.)
Public propertyIsXRef
Gets if the block is an external reference.
Public propertyLayer
Gets or sets the block layer.
Public propertyStatic memberModelSpace
Gets the default *Model_Space block.
Public propertyName
Gets the name of the table object.
Public propertyOrigin
Gets or sets the block origin in world coordinates.
Public propertyOwner
Gets the owner of the actual dxf object.
(Inherited from DxfObject.)
Public propertyStatic memberPaperSpace
Gets the default *Paper_Space block.
Public propertyReadOnly
Checks if the block should not be edited.
Public propertyRecord
Gets the block record associated with this block.
Public propertyXrefFile
Gets the external reference path name.
Top
Methods
  NameDescription
Public methodClone
Creates a new Block that is a copy of the current instance.
(Overrides TableObjectClone.)
Public methodClone(String)
Creates a new Block that is a copy of the current instance.
(Overrides TableObjectClone(String).)
Public methodCompareTo(Object)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodCompareTo(TableObject)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodStatic memberCreate
Creates a block from the content of a document.
Public methodEquals(Object)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodEquals(TableObject)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from TableObject.)
Public methodStatic memberLoad(String)
Creates a block from an external dxf file.
Public methodStatic memberLoad(String, String)
Creates a block from an external dxf file.
Public methodSave(String, DxfVersion)
Saves a block to a text dxf file.
Public methodSave(String, DxfVersion, Boolean)
Saves a block to a DXF file.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultModelSpaceName
Default ModelSpace block name.
Public fieldStatic memberDefaultPaperSpaceName
Default PaperSpace block name.
Top
See Also