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

GetFont() public static method

Constructs a Font-object.
public static GetFont ( string fontname, float size, int style, BaseColor color ) : Font
fontname string the name of the font
size float the size of this font
style int the style of this font
color BaseColor the BaseColor of this font
return Font
        public static Font GetFont(string fontname, float size, int style, BaseColor color)
        {
            return GetFont(fontname, defaultEncoding, defaultEmbedding, size, style, color);
        }

Same methods

FontFactory::GetFont ( string fontname ) : Font
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, 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