ImageGear23.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPageHeader Method : LoadPageHeader(Stream,Int32) Method |
'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 )
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.