VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dib Namespace / DibFile Class / DibFile Constructors / DibFile Constructor(String,FileMode)
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    DibFile Constructor(String,FileMode)
    In This Topic
    Initializes a new instance of the DibFile class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal filename
    The name of the image file.
    As System.String, _
    ByVal mode
    A FileMode constant that determines how to open or create the image file.
    As System.IO.FileMode _
    )
    public DibFile(
    System.String filename,
    System.IO.FileMode mode
    )
    public: DibFile(
    System.String filename,
    System.IO.FileMode mode
    )
    public:
    DibFile(
    System.String filename,
    System.IO.FileMode mode
    )

    Parameters

    filename
    The name of the image file.
    mode
    A FileMode constant that determines how to open or create the image file.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Remarks

    GIF file will be opened with FileAccess.Read access.

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also