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

82f8bcaf 52d7 499d bde8 9648c452b397

haplokuon edited this page May 6, 2023 · 1 revision

Save(String, Boolean) Method

netDxf 3.0.0 Library

Saves the database of the actual DxfDocument to a DXF file.

Definition

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

C#

public bool Save(
	string file,
	bool isBinary
)

VB

Public Function Save ( 
	file As String,
	isBinary As Boolean
) As Boolean

C++

public:
bool Save(
	String^ file, 
	bool isBinary
)

F#

member Save : 
        file : string * 
        isBinary : bool -> bool 

Parameters

  String
File name.
  Boolean
Defines if the file will be saved as binary.

Return Value

Boolean
Returns true if the file has been successfully saved, false otherwise.

Remarks

If the file already exists it will be overwritten.
The Save method will still raise an exception if they are unable to create the FileStream.
On Debug mode they will raise any exception that might occur during the whole process.

Exceptions

DxfVersionNotSupportedException

See Also

Reference

DxfDocument Class
Save Overload
netDxf Namespace

Clone this wiki locally