Constructs a Font-object.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public virtual Font GetFont(
	string fontname
)
Visual Basic
Public Overridable Function GetFont ( _
	fontname As String _
) As Font
Visual C++
public:
virtual Font^ GetFont(
	String^ fontname
)

Parameters

fontname
Type: System..::..String
the name of the font

Return Value

a Font object

See Also