Click or drag to resize
Pdf Library for .NET

PdfImageExtractorException Class

Exception thrown by PdfImageExtractor.
Inheritance Hierarchy
SystemObject
  SystemException
    SelectPdf.UniversalPdfImageExtractorException

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public class PdfImageExtractorException : Exception

The PdfImageExtractorException type exposes the following members.

Constructors
 NameDescription
Public methodPdfImageExtractorException(String)Initializes a new instance with a message.
Public methodPdfImageExtractorException(String, Exception)Initializes a new instance with a message and inner exception.
Top
Example
try
{
    PdfImageExtractor extractor = new PdfImageExtractor();
    extractor.Load("document.pdf");
    byte[][] images = extractor.ExtractImages();
}
catch (PdfImageExtractorException ex)
{
    System.Console.WriteLine("Extraction failed: " + ex.Message);
}
See Also