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




ImageGear24.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPageHeader Method : LoadPageHeader(Stream,Int32) Method
The data stream containing an image.
The number of page to load header from.
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 _
) As ImGearPage
'Usage
 
Dim stream As Stream
Dim pageNumber As Integer
Dim value As ImGearPage
 
value = ImGearFileFormats.LoadPageHeader(stream, pageNumber)
public static ImGearPage LoadPageHeader( 
   Stream stream,
   int pageNumber
)
public: static ImGearPage* LoadPageHeader( 
   Stream* stream,
   int pageNumber
) 
public:
static ImGearPage^ LoadPageHeader( 
   Stream^ stream,
   int pageNumber
) 

Parameters

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

Return Value

A new instance of ImageGear.Core.ImGearPage class.
Remarks
This method loads image metadata for a particular page without decoding pixel data.

This method returns an ImGear page 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