ImageGear23.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > LoadPageMetadata Method : LoadPageMetadata(Stream,Int32,ImGearLoadOptions) Method |
'Declaration Public Overloads Shared Function LoadPageMetadata( _ ByVal stream As Stream, _ ByVal pageNumber As Integer, _ ByVal options As ImGearLoadOptions _ ) As ImGearMetadataHead
'Usage Dim stream As Stream Dim pageNumber As Integer Dim options As ImGearLoadOptions Dim value As ImGearMetadataHead value = ImGearFileFormats.LoadPageMetadata(stream, pageNumber, options)
public static ImGearMetadataHead LoadPageMetadata( Stream stream, int pageNumber, ImGearLoadOptions options )
public: static ImGearMetadataHead* LoadPageMetadata( Stream* stream, int pageNumber, ImGearLoadOptions* options )
public: static ImGearMetadataHead^ LoadPageMetadata( Stream^ stream, int pageNumber, ImGearLoadOptions^ options )
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. |