Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadFile Class / ReadFile Constructor / ReadFile Constructor(String,FileSerializer)
The file name
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.

In This Topic
    ReadFile Constructor(String,FileSerializer)
    In This Topic
    File name and fileSerializer constructor.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fileName As String, _
       ByVal fileSerializer As FileSerializer _
    )
    public ReadFile( 
       string fileName,
       FileSerializer fileSerializer
    )

    Parameters

    fileName
    The file name
    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.
    Remarks
    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 devDept.Serialization.FileSerializer.FileSerializer Constructor(contentType) constructor to initialize it.
    See Also