Class XData
Represents the extended data information.
Inheritance
Implements
Inherited Members
Namespace: netDxf
Assembly: CADability.dll
Syntax
public class XData : ICloneable
Remarks
Do not store your own data under the ACAD application registry it is used by some entities to store special data, it might be overwritten when the file is saved. Instead, create a new application registry and store your data there.
Constructors
| Improve this Doc View SourceXData(ApplicationRegistry)
Initialize a new instance of the XData class .
Declaration
public XData(ApplicationRegistry appReg)
Parameters
| Type | Name | Description |
|---|---|---|
| ApplicationRegistry | appReg | Name of the application associated with the list of extended data records. |
Properties
| Improve this Doc View SourceApplicationRegistry
Gets or sets the name of the application associated with the list of extended data records.
Declaration
public ApplicationRegistry ApplicationRegistry { get; }
Property Value
| Type | Description |
|---|---|
| ApplicationRegistry |
XDataRecord
Gets or sets the list of extended data records.
Declaration
public List<XDataRecord> XDataRecord { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<XDataRecord> |
Remarks
This list cannot contain a XDataRecord with a XDataCode of AppReg, this code is reserved to register the name of the application. Any record with this code will be omitted.
Methods
| Improve this Doc View SourceClone()
Creates a new XData that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new XData that is a copy of this instance. |
ToString()
Converts the value of this instance to its equivalent string representation.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | The string representation. |