ImageGear21.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPageMetadata Method : LoadPageMetadata(Stream,Int32) Method |
'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 )
Exception | Description |
---|---|
System.ArgumentNullException | Thrown 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. |