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

84b27002 97a1 9044 2b3c 3c71a7e11f96

haplokuon edited this page May 6, 2023 · 1 revision

Save(Stream) Method

netDxf 3.0.0 Library

Saves the database of the actual DxfDocument to a text stream.

Definition

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

C#

public bool Save(
	Stream stream
)

VB

Public Function Save ( 
	stream As Stream
) As Boolean

C++

public:
bool Save(
	Stream^ stream
)

F#

member Save : 
        stream : Stream -> bool 

Parameters

  Stream
Stream.

Return Value

Boolean
Return true if the stream has been successfully saved, false otherwise.

Remarks

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
Save Overload
netDxf Namespace

Clone this wiki locally