WriteAutodesk(Environment, Stream, versionType, Boolean, Boolean, Boolean, lineWeightUnitsType, Boolean) Constructor
NOTE: This member is now obsolete. Use the constructor that accepts the WriteParams instead.
Public Sub New( _
ByVal environment As Environment, _
ByVal stream As Stream, _
ByVal version As versionType, _
Optional ByVal aciColors As Boolean = true, _
Optional ByVal asciiStream As Boolean = false, _
Optional ByVal selectedOnly As Boolean = false, _
Optional ByVal lineWeightUnits As lineWeightUnitsType = lineWeightUnitsType.Millimeters, _
Optional ByVal purge As Boolean = false _
)
This language is not supported or no code example is available.
public WriteAutodesk(
Environment environment,
Stream stream,
versionType version,
bool aciColors = true,
bool asciiStream = false,
bool selectedOnly = false,
lineWeightUnitsType lineWeightUnits = lineWeightUnitsType.Millimeters,
bool purge = false
)
This language is not supported or no code example is available.
Parameters
- environment
- Environment
The Environment control
- stream
- Stream
The file stream
- version
- versionType
DWG/DXF file format version
- aciColors
- bool
Saves the colors as Aci colors (Autocad color index) if possible
- asciiStream
- bool
If true, writes the stream in DXF ascii format, else in DWG binary format
- selectedOnly
- bool
If true, only selected entities at root level are written.
- lineWeightUnits
- lineWeightUnitsType
The line weight units
- purge
- bool
If true, purges all unused layers, line types, text styles and blocks from the saved file
If the file already exists, it will be overwritten.