Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

ba2b9ed6 d478 1112 0909 3ba81f3fc462

haplokuon edited this page May 6, 2023 · 1 revision

Load(Stream) Method

netDxf 3.0.0 Library

Loads a DXF file.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static DxfDocument Load(
	Stream stream
)

VB

Public Shared Function Load ( 
	stream As Stream
) As DxfDocument

C++

public:
static DxfDocument^ Load(
	Stream^ stream
)

F#

static member Load : 
        stream : Stream -> DxfDocument 

Parameters

  Stream
Stream.

Return Value

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.

Exceptions

DxfVersionNotSupportedException

See Also

Reference

DxfDocument Class
Load Overload
netDxf Namespace

Clone this wiki locally