Constructs a Font-object.

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

Syntax

C#
public static Font GetFont(
	string fontname,
	float size,
	int style
)
Visual Basic
Public Shared Function GetFont ( _
	fontname As String, _
	size As Single, _
	style As Integer _
) As Font
Visual C++
public:
static Font^ GetFont(
	String^ fontname, 
	float size, 
	int style
)

Parameters

fontname
Type: System..::..String
the name of the font
size
Type: System..::..Single
the size of this font
style
Type: System..::..Int32
the style of this font

Return Value

a Font object

See Also