WriteFile(WriteFileParams, String, FileSerializer) Constructor

Write params and file name constructor.
Public Sub New( _ 
ByVal writeFileParams As WriteFileParams, _ 
ByVal fileName As String, _ 
Optional ByVal fileSerializer As FileSerializer = null _ 
)
This language is not supported or no code example is available.
public WriteFile( 
WriteFileParams writeFileParams
string fileName
FileSerializer fileSerializer = null 
)
This language is not supported or no code example is available.

Parameters

writeFileParams
WriteFileParams

The WriteFileParams

fileName
string

The file name (it must include the extension)

fileSerializer
FileSerializer

The file serializer that must be used to write the file. Use this when you need to include additional fields definition for writing custom entities.

Remarks
 
If you want to include special Autodesk objects like LayerEx, LinearPathEx, PictureEx, etc. you need to pass a new FileSerializerEx() as fileSerializer parameter.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition