pdfOCR 2.0.2 API
iText.Pdfocr.PdfOcrFontProvider Class Reference

iText.Layout.Font.FontProvider extension for ocr engine. More...

Inheritance diagram for iText.Pdfocr.PdfOcrFontProvider:

Public Member Functions

  PdfOcrFontProvider ()
  Creates a new PdfOcrFontProvider instance with the default font and the default font family. More...
 
  PdfOcrFontProvider (FontSet fontSet, String defaultFontFamily)
  Creates a new PdfOcrFontProvider instance based on provided iText.Layout.Font.FontSet instance and font family. More...
 
override String  GetDefaultFontFamily ()
  Gets default font family. More...
 

Detailed Description

iText.Layout.Font.FontProvider extension for ocr engine.

Constructor & Destructor Documentation

◆ PdfOcrFontProvider() [1/2]

iText.Pdfocr.PdfOcrFontProvider.PdfOcrFontProvider ( )
inline

Creates a new PdfOcrFontProvider instance with the default font and the default font family.

◆ PdfOcrFontProvider() [2/2]

iText.Pdfocr.PdfOcrFontProvider.PdfOcrFontProvider ( FontSet  fontSet,
String  defaultFontFamily 
)
inline

Creates a new PdfOcrFontProvider instance based on provided iText.Layout.Font.FontSet instance and font family.

Parameters
fontSet

iText.Layout.Font.FontSet instance

Parameters
defaultFontFamily font family

Member Function Documentation

◆ GetDefaultFontFamily()

override String iText.Pdfocr.PdfOcrFontProvider.GetDefaultFontFamily ( )
inline

Gets default font family.

Returns
default font family as a string