DxfDocumentSave Method (String, Boolean)
|
Saves the database of the actual DxfDocument to a dxf file.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public bool Save(
string file,
bool isBinary
)
Public Function Save (
file As String,
isBinary As Boolean
) As Boolean
public:
bool Save(
String^ file,
bool isBinary
)
member Save :
file : string *
isBinary : bool -> bool
METHOD Save(
file AS STRING,
isBinary AS LOGIC
) AS LOGIC
Parameters
- file
- Type: SystemString
File name. - isBinary
- Type: SystemBoolean
Defines if the file will be saved as binary.
Return Value
Type:
BooleanReturn 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