C# Class PdfRpt.GenericFontProvider

A Generic Font Class
Inheritance: IPdfFont
ファイルを表示 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
GenericFontProvider ( Font mainFont, Font defaultFont ) : System.Collections.Generic

Sets registered font's name.

GenericFontProvider ( IPdfFont font ) : System.Collections.Generic

Sets registered font's name.

GenericFontProvider ( string mainFontPath, string defaultFontPath ) : System.Collections.Generic

Sets registered font's name

Private Methods

Method Description
defaultValues ( ) : void
getFontSelector ( ) : FontSelector
getFonts ( ) : IList
registerFonts ( string mainFontPath, string defaultFontPath ) : void
setDefaults ( Font font ) : void
setDefaults ( IPdfFont baseFont, Font toFont ) : void

Method Details

GenericFontProvider() public method

Sets registered font's name.
public GenericFontProvider ( Font mainFont, Font defaultFont ) : System.Collections.Generic
mainFont iTextSharp.text.Font main font
defaultFont iTextSharp.text.Font default font
return System.Collections.Generic

GenericFontProvider() public method

Sets registered font's name.
public GenericFontProvider ( IPdfFont font ) : System.Collections.Generic
font IPdfFont pdfRptFont should contain at least 2 fonts.
return System.Collections.Generic

GenericFontProvider() public method

Sets registered font's name
public GenericFontProvider ( string mainFontPath, string defaultFontPath ) : System.Collections.Generic
mainFontPath string main font's path
defaultFontPath string default font's path
return System.Collections.Generic