Show / Hide Table of Contents

Class DxfVersionNotSupportedException

Represents an error that occur when trying to load a DXF file which DxfVersion is not supported.

Inheritance
System.Object
System.Exception
DxfVersionNotSupportedException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: netDxf.IO
Assembly: CADability.dll
Syntax
public class DxfVersionNotSupportedException : Exception, ISerializable
Remarks

netDxf only supports DXF file versions AutoCad2000 and higher.

Constructors

| Improve this Doc View Source

DxfVersionNotSupportedException(DxfVersion)

Initializes a new instance of DxfVersionNotSupportedException

Declaration
public DxfVersionNotSupportedException(DxfVersion version)
Parameters
Type Name Description
DxfVersion version

DXF file version.

| Improve this Doc View Source

DxfVersionNotSupportedException(String, DxfVersion)

Initializes a new instance of DxfVersionNotSupportedException

Declaration
public DxfVersionNotSupportedException(string message, DxfVersion version)
Parameters
Type Name Description
System.String message

Exception message.

DxfVersion version

DXF file version.

Properties

| Improve this Doc View Source

Version

Gets the DXF file version that generated the exception.

Declaration
public DxfVersion Version { get; }
Property Value
Type Description
DxfVersion

Implements

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