ImageGear for .NET
LoadPageMetadata(Stream,Int32) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPageMetadata Method : LoadPageMetadata(Stream,Int32) Method




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

Glossary Item Box

Loads page metadata without decoding pixel data.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

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

Return Value

Page metadata tree.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThrown if the specified stream is null.
ImageGear.Core.ImGearException 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

©2013. Accusoft Corporation. All Rights Reserved.