VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Bmp Namespace / BmpFile Class / BmpFile Constructors / BmpFile Constructor(String,Boolean)
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    BmpFile Constructor(String,Boolean)
    In This Topic
    Initializes a new instance of the BmpFile class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal filename
    The name of the image file.
    As System.String, _
    ByVal readOnlyAccess
    A value indicating whether the image file should be opened in read-only mode.
    As Boolean _
    )
    public BmpFile(
    System.String filename,
    bool readOnlyAccess
    )
    public: BmpFile(
    System.String filename,
    bool readOnlyAccess
    )
    public:
    BmpFile(
    System.String filename,
    bool readOnlyAccess
    )

    Parameters

    filename
    The name of the image file.
    readOnlyAccess
    A value indicating whether the image file should be opened in read-only mode.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Remarks

    GIF file will be opened in FileMode.Open mode.

    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