VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Gif Namespace / GifFile Class / GifFile Constructors / GifFile Constructor(Stream,Int32,Int32)
Syntax Exceptions Requirements SeeAlso
In This Topic
    GifFile Constructor(Stream,Int32,Int32)
    In This Topic
    Initializes a new instance of the GifFile class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal stream
    Source stream.
    As System.IO.Stream, _
    ByVal width
    Logical screen width.
    As System.Int32, _
    ByVal height
    Logical screen height.
    As System.Int32 _
    )
    public GifFile(
    System.IO.Stream stream,
    System.Int32 width,
    System.Int32 height
    )
    public: GifFile(
    System.IO.Stream* stream,
    System.Int32 width,
    System.Int32 height
    )
    public:
    GifFile(
    System.IO.Stream^ stream,
    System.Int32 width,
    System.Int32 height
    )

    Parameters

    stream
    Source stream.
    width
    Logical screen width.
    height
    Logical screen height.
    Exceptions
    ExceptionDescription
    Thrown if width or height is less than zero or greater than System.UInt16.MaxValue.
    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