VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / JpegDecoder Class / IsValidFormat(Stream) Method
Syntax Requirements SeeAlso
In This Topic
    IsValidFormat(Stream) Method (JpegDecoder)
    In This Topic
    Determines that stream contains JPEG file.
    Syntax
    'Declaration
    
    Public Overrides Function IsValidFormat( _
    ByVal stream
    Stream with binary data of JPEG file.
    As System.IO.Stream _
    ) As Boolean
    public override bool IsValidFormat(
    System.IO.Stream stream
    )
    public: bool IsValidFormat(
    System.IO.Stream* stream
    ); override
    public:
    bool IsValidFormat(
    System.IO.Stream^ stream
    ); override

    Parameters

    stream
    Stream with binary data of JPEG file.

    Return Value

    True if stream contains JPEG 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