ImageGear .NET - Updated
LoadPageHeader(Stream,Int32,ImGearLoadOptions) Method




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

Parameters

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

Return Value

A new instance of ImageGear.Core.ImGearPage class.
Remarks
This method returns an ImageGear.Core.ImGearPage class containing DIB, metadata, image resolution and all other attributes except for pixel data and the palette. This is useful when you need to look up a particular tag in the metadata or get information about image dimensions while avoiding time consuming operation of decoding the pixel data.
See Also

Reference

ImGearFileFormats Class
ImGearFileFormats Members
Overload List
ImGearPage Class
ImGearLoadOptions Class