ReadFile(String, FileSerializer, Boolean) Constructor
Public Sub New( _
ByVal fileName As String, _
ByVal fileSerializer As FileSerializer, _
Optional ByVal headerOnly As Boolean = false _
)
This language is not supported or no code example is available.
Parameters
- fileName
- string
The file name
- fileSerializer
- FileSerializer
The file serializer that must be used to read the file. Use this when you need to include additional fields definition for reading custom entities.
- headerOnly
- bool
When true only the file header is read.
If you want to include special Autodesk objects like LayerEx, LinearPathEx, PictureEx, etc. you need to pass a new FileSerializerEx() as fileSerializer parameter.
Use the FileSerializer constructor to initialize it.