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

4143aeb7 d088 c9c2 7cfd 5e907a9f91ce

haplokuon edited this page May 6, 2023 · 1 revision

Save(Stream, Boolean) Method

netDxf 3.0.0 Library

Saves the database of the actual DxfDocument to a stream.

Definition

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

C#

public bool Save(
	Stream stream,
	bool isBinary
)

VB

Public Function Save ( 
	stream As Stream,
	isBinary As Boolean
) As Boolean

C++

public:
bool Save(
	Stream^ stream, 
	bool isBinary
)

F#

member Save : 
        stream : Stream * 
        isBinary : bool -> bool 

Parameters

  Stream
Stream.
  Boolean
Defines if the file will be saved as binary.

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