Click or drag to resize

Attribute Class

Represents a attribute entity.
Inheritance Hierarchy

Namespace:  DXFReaderNET.Entities
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class Attribute : DxfObject, ICloneable

The Attribute type exposes the following members.

Constructors
  NameDescription
Public methodAttribute
Initializes a new instance of the Attribute class.
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the text alignment.
Public propertyAttachmentPoint
Attachment point.
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the entity color.
Public propertyDefinition
Gets the attribute definition.
Public propertyDrawingDirection
Drawing direction.
Public propertyFirstAlignmentPoint
Gets or sets the attribute position.
Public propertyFlags
Gets or sets the attribute flags.
Public propertyHandle
Gets the handle assigned to the dxf object.
(Inherited from DxfObject.)
Public propertyHeight
Gets or sets the attribute text height.
Public propertyHorizontalWidth
Horizontal width of the characters that make up the mtext entity.
Public propertyIsVisible
Gets or set the entity visibility.
Public propertyLayer
Gets or sets the entity layer.
Public propertyLineSpacingFactor
Mtext line spacing factor.
Public propertyLinetype
Gets or sets the entity line type.
Public propertyLinetypeScale
Gets or sets the entity line type scale.
Public propertyLineweight
Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
Public propertyNormal
Gets or sets the entity normal.
Public propertyObliqueAngle
Gets or sets the font oblique angle.
Public propertyOwner
Gets the owner of the actual dxf object.
Public propertyPosition
Gets or sets the attribute position.
Public propertyRotation
Gets or sets the attribute text rotation in degrees.
Public propertySecondAlignmentPoint
Gets or sets the attribute position.
Public propertyStyle
Gets or sets the attribute text style.
Public propertyTag
Gets the attribute tag.
Public propertyTransparency
Gets or sets layer transparency (default: ByLayer).
Public propertyValue
Gets or sets the attribute value.
Public propertyVerticalHeight
Vertical height of the mtext entity.
Public propertyWidthFactor
Gets or sets the attribute text width factor.
Top
Methods
  NameDescription
Public methodClone
Creates a new Attribute that is a copy of the current instance.
Public methodToString
Obtains a string that represents the dxf object.
(Inherited from DxfObject.)
Top
Remarks
The attribute position, rotation, height and width factor values also includes the transformation of the Insert entity to which it belongs.
During the attribute initialization a copy of all attribute definition properties will be copied, so any changes made to the attribute definition will only be applied to new attribute instances and not to existing ones. This behavior is to allow imported Insert entities to have attributes without definition in the block, although this might sound not totally correct it is allowed by AutoCad.
See Also