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

b6204f2c 0217 231a 4aa0 7cfee22baf85

haplokuon edited this page May 6, 2023 · 1 revision

Save(String) Method

netDxf 3.0.0 Library

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

Definition

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

C#

public bool Save(
	string file
)

VB

Public Function Save ( 
	file As String
) As Boolean

C++

public:
bool Save(
	String^ file
)

F#

member Save : 
        file : string -> bool 

Parameters

  String
File name.

Return Value

Boolean
Return true if the file has been successfully save, 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