Class DxfTypeConverter
This public static class has only one purpose, which is to return hold the ConvertType(String) Function.
Inheritance
System.Object
DxfTypeConverter
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)
System.Object.ToString()
Namespace: Dxflib.IO
Assembly: Dxflib.dll
Syntax
public static class DxfTypeConverter
Methods
| Improve this Doc View SourceConvertType(String)
The Convert Type Function is used to get the correct AutoCAD Value type. This is consistent will the AutoCAD 2019 Standard.
Declaration
public static Type ConvertType(string groupCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupCode | The Group Code String |
Returns
Type | Description |
---|---|
System.Type | A System.Type that corresponds with the AutoCAD Type |
Exceptions
Type | Condition |
---|---|
System.InvalidCastException | Throws when a group code is not recognized. |