Click or drag to resize

DxfDocumentLoad Method (String, IEnumerableString)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Loads a DXF file.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static DxfDocument Load(
	string file,
	IEnumerable<string> supportFolders
)
Request Example View Source

Parameters

file
Type: SystemString
File name.
supportFolders
Type: System.Collections.GenericIEnumerableString
List of the document support folders.

Return Value

Type: DxfDocument
Returns a DxfDocument. It will return null if the file has not been able to load.
Exceptions
Remarks
Loading DXF files prior to AutoCad 2000 is not supported.
The Load method will still raise an exception if they are unable to create the FileStream.
On Debug mode it will raise any exception that might occur during the whole process.
See Also