ImageGear .NET v24.12 - Updated
LoadPage(Stream,Int32,ImGearLoadOptions) Method




ImageGear24.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPage Method : LoadPage(Stream,Int32,ImGearLoadOptions) Method
The data stream containing an image.
The number of page to load.
The loading options.
Loads a single page from an image.
Syntax
'Declaration
 
Public Overloads Shared Function LoadPage( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer, _
   ByVal loadOptions As ImGearLoadOptions _
) As ImGearPage
'Usage
 
Dim stream As Stream
Dim pageNumber As Integer
Dim loadOptions As ImGearLoadOptions
Dim value As ImGearPage
 
value = ImGearFileFormats.LoadPage(stream, pageNumber, loadOptions)
public static ImGearPage LoadPage( 
   Stream stream,
   int pageNumber,
   ImGearLoadOptions loadOptions
)
public: static ImGearPage* LoadPage( 
   Stream* stream,
   int pageNumber,
   ImGearLoadOptions* loadOptions
) 
public:
static ImGearPage^ LoadPage( 
   Stream^ stream,
   int pageNumber,
   ImGearLoadOptions^ loadOptions
) 

Parameters

stream
The data stream containing an image.
pageNumber
The number of page to load.
loadOptions
The loading options.

Return Value

A new instance of ImageGear.Core.ImGearPage class.
Remarks
This method provides more flexibility for loading images (i.e., the ability to load image thumbnail and specify image format explicitly).
See Also

Reference

ImGearFileFormats Class
ImGearFileFormats Members
Overload List
ImGearLoadOptions Class
ImGearPage Class