VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / DecoderBase Class / IsValidFormat(Stream) Method
Syntax Requirements SeeAlso
In This Topic
    IsValidFormat(Stream) Method (DecoderBase)
    In This Topic
    Determines that stream contains image file in format of this decoder.
    Syntax
    'Declaration
    
    Public MustOverride Function IsValidFormat( _
    ByVal stream
    Stream with binary data of the image file.
    As System.IO.Stream _
    ) As Boolean
    public abstract bool IsValidFormat(
    System.IO.Stream stream
    )
    public: abstract bool IsValidFormat(
    System.IO.Stream* stream
    )
    public:
    abstract bool IsValidFormat(
    System.IO.Stream^ stream
    )

    Parameters

    stream
    Stream with binary data of the image file.

    Return Value

    True if stream contains image file in format of this decoder; 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