iTextSharp.text.FontFactoryImp.Register C# (CSharp) Method

Register() public method

Register a ttf- or a ttc-file.
public Register ( string path ) : void
path string the path to a ttf- or ttc-file
return void
        public virtual void Register(string path)
        {
            Register(path, null);
        }

Same methods

FontFactoryImp::Register ( string path, string alias ) : void

Usage Example

コード例 #1
0
ファイル: FontFactory.cs プロジェクト: mbarylsk/pdf-tools
        public static void Register(Properties attributes)
        {
            string path;
            string alias = null;

            path  = attributes.Remove("path");
            alias = attributes.Remove("alias");

            fontImp.Register(path, alias);
        }