This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 407
766b92d0 ce16 477a ddf7 930983b95def
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Represents an attribute definition.
Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public class AttributeDefinition : DxfObject,
ICloneable
VB
Public Class AttributeDefinition
Inherits DxfObject
Implements ICloneable
C++
public ref class AttributeDefinition : public DxfObject,
ICloneable
F#
type AttributeDefinition =
class
inherit DxfObject
interface ICloneable
end
Inheritance | Object → DxfObject → AttributeDefinition |
Implements | ICloneable |
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.
AttributeDefinition(String) | Initializes a new instance of the AttributeDefinition class. |
AttributeDefinition(String, TextStyle) | Initializes a new instance of the AttributeDefinition class. |
AttributeDefinition(String, Double, TextStyle) | Initializes a new instance of the AttributeDefinition class. |
Alignment | Gets or sets the text alignment. |
CodeName | Gets the DXF object name. (Inherited from DxfObject) |
Color | Gets or sets the entity color. |
Flags | Gets or sets the attribute flags. |
Handle | Gets the handle assigned to the DXF object. (Inherited from DxfObject) |
Height | Gets or sets the text height. |
IsBackward | Gets or sets if the attribute definition text is backward (mirrored in X). |
IsUpsideDown | Gets or sets if the attribute definition text is upside down (mirrored in Y). |
IsVisible | Gets or set the entity visibility. |
Layer | Gets or sets the entity layer. |
Linetype | Gets or sets the entity line type. |
LinetypeScale | Gets or sets the entity line type scale. |
Lineweight | Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer). |
Normal | Gets or sets the entity normal. |
ObliqueAngle | Gets or sets the font oblique angle. |
Owner | Gets the owner of the actual DXF object. |
Position | Gets or sets the attribute position in object coordinates. |
Prompt | Gets or sets the attribute information text. |
Rotation | Gets or sets the attribute text rotation in degrees. |
Style | Gets or sets the attribute text style. |
Tag | Gets the attribute identifier. |
Transparency | Gets or sets layer transparency (default: ByLayer). |
Value | Gets or sets the attribute default value. |
Width | Gets or sets the text width, only applicable for text Alignment.Fit and Alignment.Align. |
WidthFactor | Gets or sets the width factor. |
XData | Gets the entity extended data. (Inherited from DxfObject) |
Clone | Creates a new AttributeDefinition that is a copy of the current instance. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Obtains a string that represents the DXF object. (Inherited from DxfObject) |
TransformBy(Matrix4) | Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix. |
TransformBy(Matrix3, Vector3) | Moves, scales, and/or rotates the current attribute definition given a 3x3 transformation matrix and a translation vector. |
LayerChanged | |
LinetypeChanged | |
TextStyleChange | |
XDataAddAppReg |
(Inherited from DxfObject) |
XDataRemoveAppReg |
(Inherited from DxfObject) |