Click or drag to resize

DXFReaderNETControlWriteDXF Method

Writes the current drawing on a DXF file on disk.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public bool WriteDXF(
	string DXFFileName = "",
	DxfVersion DXFVersion = DxfVersion.AutoCad2018,
	bool Binary = false,
	string BlockName = ""
)

Parameters

DXFFileName (Optional)
Type: SystemString
The name of the file to be written with full path.
DXFVersion (Optional)
Type: DXFReaderNET.HeaderDxfVersion
The DXF version of the file (Default value: DXF 2018).
Binary (Optional)
Type: SystemBoolean
If set to true the DXF file is written in binary mode(Default value = false).
BlockName (Optional)
Type: SystemString
If set the block will be saved as a new drawing.

Return Value

Type: Boolean
True if successful.
See Also