Show / Hide Table of Contents

Class XData

Represents the extended data information.

Inheritance
System.Object
XData
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 Source

XData(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 Source

ApplicationRegistry

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
| Improve this Doc View Source

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 Source

Clone()

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.

| Improve this Doc View Source

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.

Overrides
System.Object.ToString()

Implements

System.ICloneable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX