ImageGear .NET - Updated
LoadPageMetadata(Stream,Int32) Method




ImageGear24.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPageMetadata Method : LoadPageMetadata(Stream,Int32) Method
Data stream containing an image.
Zero based page number to load the metadata from.
Loads page metadata without decoding pixel data.
Syntax
'Declaration
 
Public Overloads Shared Function LoadPageMetadata( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As ImGearMetadataHead
'Usage
 
Dim stream As Stream
Dim pageNumber As Integer
Dim value As ImGearMetadataHead
 
value = ImGearFileFormats.LoadPageMetadata(stream, pageNumber)
public static ImGearMetadataHead LoadPageMetadata( 
   Stream stream,
   int pageNumber
)
public: static ImGearMetadataHead* LoadPageMetadata( 
   Stream* stream,
   int pageNumber
) 
public:
static ImGearMetadataHead^ LoadPageMetadata( 
   Stream^ stream,
   int pageNumber
) 

Parameters

stream
Data stream containing an image.
pageNumber
Zero based page number to load the metadata from.

Return Value

Page metadata tree.
Exceptions
ExceptionDescription
Thrown if the specified stream is null.
Thrown with ImGearErrorCodes.PAGE_NOT_PRESENT error code if the page with the specified page number does not exist in the image.
Remarks
This method reads the specified image stream from the current position and loads the metadata associated with the specified page. This method does not load the metadata assotiated with a document. This method does not decode the actual pixel data.
See Also

Reference

ImGearFileFormats Class
ImGearFileFormats Members
Overload List