Click or drag to resize

AttributeDefinition Class

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

Namespace:  netDxf.Entities
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class AttributeDefinition : EntityObject
Request Example View Source

The AttributeDefinition type exposes the following members.

Constructors
  NameDescription
Public methodAttributeDefinition(String)
Initializes a new instance of the AttributeDefiniton class.
Public methodAttributeDefinition(String, TextStyle)
Initializes a new instance of the AttributeDefiniton class.
Public methodAttributeDefinition(String, Double, TextStyle)
Initializes a new instance of the AttributeDefiniton 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.
(Inherited from EntityObject.)
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.
(Inherited from EntityObject.)
Public propertyLayer
Gets or sets the entity layer.
(Inherited from EntityObject.)
Public propertyLinetype
Gets or sets the entity line type.
(Inherited from EntityObject.)
Public propertyLinetypeScale
Gets or sets the entity line type scale.
(Inherited from EntityObject.)
Public propertyLineweight
Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
(Inherited from EntityObject.)
Public propertyNormal
Gets or sets the entity normal.
(Inherited from EntityObject.)
Public propertyObliqueAngle
Gets or sets the font oblique angle.
Public propertyOwner
Gets the owner of the actual dxf object.
(Inherited from EntityObject.)
Public propertyPosition
Gets or sets the attribute position in object coordinates.
Public propertyPrompt
Gets or sets the attribute information text.
Public propertyReactors
Gets the list of dxf objects that has been attached to this entity.
(Inherited from EntityObject.)
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 identifier.
Public propertyTransparency
Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject.)
Public propertyType
Gets the entity type.
(Inherited from EntityObject.)
Public propertyValue
Gets or sets the attribute default value.
Public propertyWidthFactor
Gets or sets the attribute text width factor.
Public propertyXData
Gets the entity extended data.
(Inherited from EntityObject.)
Top
Methods
  NameDescription
Public methodClone
Creates a new AttributeDefinition that is a copy of the current instance.
(Overrides EntityObjectClone.)
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 (Inherited from EntityObject.)
Protected methodOnLinetypeChangedEvent (Inherited from EntityObject.)
Protected methodOnTextStyleChangedEvent
Protected methodOnXDataAddAppRegEvent (Inherited from EntityObject.)
Protected methodOnXDataRemoveAppRegEvent (Inherited from EntityObject.)
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject.)
Top
Events
  NameDescription
Public eventLayerChanged (Inherited from EntityObject.)
Public eventLinetypeChanged (Inherited from EntityObject.)
Public eventTextStyleChange
Public eventXDataAddAppReg (Inherited from EntityObject.)
Public eventXDataRemoveAppReg (Inherited from EntityObject.)
Top
Remarks
AutoCad allows to have duplicate tags in the attribute definitions list, but this library does not. To have duplicate tags is not recommended in any way, since there will be now way to know which is the definition associated to the insert attribute.
See Also