VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Bmp Namespace / BmpFile Class / IsValidFormat(Stream) Method
Syntax Requirements SeeAlso
In This Topic
    IsValidFormat(Stream) Method (BmpFile)
    In This Topic
    Determines that stream contains BMP file.
    Syntax
    'Declaration
    
    Public Shared Function IsValidFormat( _
    ByVal stream
    Stream with binary data of the BMP file.
    As System.IO.Stream _
    ) As Boolean
    public static bool IsValidFormat(
    System.IO.Stream stream
    )
    public: static bool IsValidFormat(
    System.IO.Stream* stream
    )
    public:
    static bool IsValidFormat(
    System.IO.Stream^ stream
    )

    Parameters

    stream
    Stream with binary data of the BMP file.

    Return Value

    True if stream contains BMP file; otherwise, false.
    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