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 = ""
)
Public Function WriteDXF (
Optional DXFFileName As String = "",
Optional DXFVersion As DxfVersion = DxfVersion.AutoCad2018,
Optional Binary As Boolean = false,
Optional BlockName As String = ""
) As Boolean
public:
bool WriteDXF(
String^ DXFFileName = L"",
DxfVersion DXFVersion = DxfVersion::AutoCad2018,
bool Binary = false,
String^ BlockName = L""
)
member WriteDXF :
?DXFFileName : string *
?DXFVersion : DxfVersion *
?Binary : bool *
?BlockName : string
(* Defaults:
let _DXFFileName = defaultArg DXFFileName ""
let _DXFVersion = defaultArg DXFVersion DxfVersion.AutoCad2018
let _Binary = defaultArg Binary false
let _BlockName = defaultArg BlockName ""
*)
-> bool
METHOD WriteDXF(
DXFFileName AS STRING := "",
DXFVersion AS DxfVersion := DxfVersion.AutoCad2018,
Binary AS LOGIC := FALSE,
BlockName AS STRING := ""
) AS LOGIC
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:
BooleanTrue if successful.
See Also