iTextSharp.text.FontFactory.GetFont C# (CSharp) Method

GetFont() public static method

Constructs a Font-object.
public static GetFont ( string fontname ) : Font
fontname string the name of the font
return Font
        public static Font GetFont(string fontname)
        {
            return GetFont(fontname, defaultEncoding, defaultEmbedding, Font.UNDEFINED, Font.UNDEFINED, null);
        }

Same methods

FontFactory::GetFont ( string fontname, float size ) : Font
FontFactory::GetFont ( string fontname, float size, BaseColor color ) : Font
FontFactory::GetFont ( string fontname, float size, int style ) : Font
FontFactory::GetFont ( string fontname, float size, int style, BaseColor color ) : Font
FontFactory::GetFont ( string fontname, string encoding ) : Font
FontFactory::GetFont ( string fontname, string encoding, bool embedded ) : Font
FontFactory::GetFont ( string fontname, string encoding, bool embedded, float size ) : Font
FontFactory::GetFont ( string fontname, string encoding, bool embedded, float size, int style ) : Font
FontFactory::GetFont ( string fontname, string encoding, bool embedded, float size, int style, BaseColor color ) : Font
FontFactory::GetFont ( string fontname, string encoding, bool embedded, float size, int style, BaseColor color, bool cached ) : Font
FontFactory::GetFont ( string fontname, string encoding, float size ) : Font
FontFactory::GetFont ( string fontname, string encoding, float size, int style ) : Font
FontFactory::GetFont ( string fontname, string encoding, float size, int style, BaseColor color ) : Font