WriteFile(WriteFileParams, Stream, FileSerializer) Constructor

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

Parameters

writeFileParams
WriteFileParams

The WriteFileParams

stream
Stream

The file stream

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