ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearFileFormats Class / LoadPage Method / LoadPage(Stream) Method
The data stream containing an image.




In This Topic
    LoadPage(Stream) Method
    In This Topic
    Loads a single page from an image.
    Syntax
    'Declaration
     
    Public Overloads Shared Function LoadPage( _
       ByVal stream As Stream _
    ) As ImGearPage
    'Usage
     
    Dim stream As Stream
    Dim value As ImGearPage
     
    value = ImGearFileFormats.LoadPage(stream)
    public static ImGearPage LoadPage( 
       Stream stream
    )
    public: static ImGearPage* LoadPage( 
       Stream* stream
    ) 
    public:
    static ImGearPage^ LoadPage( 
       Stream^ stream
    ) 

    Parameters

    stream
    The data stream containing an image.

    Return Value

    A new instance of ImageGear.Core.ImGearPage class.
    Remarks
    This is the simplest method for loading an image into ImageGear. If the format of an image cannot be detected, an exception is thrown. This is load the the first page of the document in the given Stream.
    See Also