Click or drag to resize

DxfDocumentLoad Method (Stream)

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(
	Stream stream
)
Request Example View Source

Parameters

stream
Type: System.IOStream
Stream.

Return Value

Type: DxfDocument
Returns a DxfDocument. It will return null if the file has not been able to load.
Remarks
Loading DXF files prior to AutoCad 2000 is not supported.
On Debug mode it will raise any exception that might occur during the whole process.
The caller will be responsible of closing the stream.
See Also