C# Класс AzureSearchOCR.PdfImageExtractor

Helper class to extract images from a PDF file. Works with the most common image types embedded in PDF files, as far as I can tell.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ExtractImages ( string filename ) : System.Drawing.Image>.Dictionary

Extracts all images (of types that iTextSharp knows how to decode) from a PDF file.

ExtractImages ( string filename, int pageNumber ) : System.Drawing.Image>.Dictionary

Extracts all images (of types that iTextSharp knows how to decode) from a specified page of a PDF file.

PageContainsImages ( string filename, int pageNumber ) : bool

Checks whether a specified page of a PDF file contains images.

Описание методов

ExtractImages() публичный статический Метод

Extracts all images (of types that iTextSharp knows how to decode) from a PDF file.
public static ExtractImages ( string filename ) : System.Drawing.Image>.Dictionary
filename string
Результат System.Drawing.Image>.Dictionary

ExtractImages() публичный статический Метод

Extracts all images (of types that iTextSharp knows how to decode) from a specified page of a PDF file.
public static ExtractImages ( string filename, int pageNumber ) : System.Drawing.Image>.Dictionary
filename string
pageNumber int
Результат System.Drawing.Image>.Dictionary

PageContainsImages() публичный статический Метод

Checks whether a specified page of a PDF file contains images.
public static PageContainsImages ( string filename, int pageNumber ) : bool
filename string
pageNumber int
Результат bool