iText 8.0.5 API
iText.Layout.Font.Selectorstrategy.IFontSelectorStrategyFactory Interface Reference

The factory for IFontSelectorStrategy. More...

Inheritance diagram for iText.Layout.Font.Selectorstrategy.IFontSelectorStrategyFactory:
iText.Layout.Font.Selectorstrategy.BestMatchFontSelectorStrategy.BestMatchFontSelectorStrategyFactory iText.Layout.Font.Selectorstrategy.FirstMatchFontSelectorStrategy.FirstMathFontSelectorStrategyFactory

Public Member Functions

IFontSelectorStrategy  CreateFontSelectorStrategy (FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts)
  Creates a new instance of IFontSelectorStrategy. More...
 

Detailed Description

The factory for IFontSelectorStrategy.

Member Function Documentation

◆ CreateFontSelectorStrategy()

IFontSelectorStrategy iText.Layout.Font.Selectorstrategy.IFontSelectorStrategyFactory.CreateFontSelectorStrategy ( FontProvider  fontProvider,
FontSelector  fontSelector,
FontSet  additionalFonts 
)

Creates a new instance of IFontSelectorStrategy.

Parameters
fontProvider the font provider
fontSelector the font selector
additionalFonts the set of fonts to be used additionally to the fonts added to font provider.
Returns
new instance of IFontSelectorStrategy

Implemented in iText.Layout.Font.Selectorstrategy.FirstMatchFontSelectorStrategy.FirstMathFontSelectorStrategyFactory, and iText.Layout.Font.Selectorstrategy.BestMatchFontSelectorStrategy.BestMatchFontSelectorStrategyFactory.