PdfRpt.GenericFontProvider.GenericFontProvider C# (CSharp) Method

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
        public GenericFontProvider(string mainFontPath, string defaultFontPath)
        {
            mainFontPath.CheckDirectoryExists();
            mainFontPath.CheckFileExists();

            defaultFontPath.CheckDirectoryExists();
            defaultFontPath.CheckFileExists();

            registerFonts(mainFontPath, defaultFontPath);
            _mainFontPath = mainFontPath;
            _defaultFontPath = defaultFontPath;
            defaultValues();
        }

Same methods

GenericFontProvider::GenericFontProvider ( Font mainFont, Font defaultFont ) : System.Collections.Generic
GenericFontProvider::GenericFontProvider ( IPdfFont font ) : System.Collections.Generic