Autodesk.AutoCAD.DatabaseServices Namespace > Database Class > Database Methods > DxfOut Method > DxfOut(string, int, DwgVersion) Method
Database.DxfOut(string, int, DwgVersion) Method
Description

 

This function creates an DXF file. 

Note 

The precision may also be set to -1 to change the output format from the default ASCII DXF format to the binary DXF format.

Visual Basic
Public Function DxfOut(
    fileName As string, 
    precision As Integer, 
    version As DwgVersion
) As void
C#
public void DxfOut(
    string fileName, 
    int precision, 
    DwgVersion version
);
Parameters
Parameters 
Description 
string fileName 
Input name or URL of the new DXF file to create (the .dxf extension is not added automatically) 
int precision 
Input number of bits of accuracy, from 0 to 16 
DwgVersion version 
Sets the DWG version major and minor number 
Links
   Comments?