Click or drag to resize

DxfDocumentSave Method (String, Boolean)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Saves the database of the actual DxfDocument to a DXF file.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public bool Save(
	string file,
	bool isBinary
)
Request Example View Source

Parameters

file
Type: SystemString
File name.
isBinary
Type: SystemBoolean
Defines if the file will be saved as binary.

Return Value

Type: 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.
See Also