Class DxfReader
The DxfReader class that reads a Dxf file and returns a string list
Inheritance
System.Object
DxfReader
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 class DxfReader
Constructors
| Improve this Doc View SourceDxfReader(String)
Creates an istance of the DxfReader class. Takes a file path as input and reads the file The file contents can be read using the readfile method
Declaration
public DxfReader(string pathToFile)
Parameters
Type | Name | Description |
---|---|---|
System.String | pathToFile |
Properties
| Improve this Doc View SourcePathToFile
The Path to the file on the disk
Declaration
public string PathToFile { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceReadFile()
Reads all of the contents of the dxf file into a list of strings
Declaration
public string[] ReadFile()
Returns
Type | Description |
---|---|
System.String[] | A List of strings |