Click or drag to resize

Attribute Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents a attribute entity.
Inheritance Hierarchy

Namespace:  netDxf.Entities
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class Attribute : DxfObject, ICloneable
Request Example View Source

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 propertyCodeName
Gets the DXF object name.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the entity color.
Public propertyDefinition
Gets the attribute definition.
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 propertyIsVisible
Gets or set the entity visibility.
Public propertyLayer
Gets or sets the entity layer.
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 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 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 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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.)
Protected methodOnLayerChangedEvent
Protected methodOnLinetypeChangedEvent
Protected methodOnTextStyleChangedEvent
Public methodToString
Obtains a string that represents the DXF object.
(Inherited from DxfObject.)
Top
Events
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