Register a ttf- or a ttc-file and use an alias for the font contained in the ttf-file.

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

Syntax

C#
public virtual void Register(
	string path,
	string alias
)
Visual Basic
Public Overridable Sub Register ( _
	path As String, _
	alias As String _
)
Visual C++
public:
virtual void Register(
	String^ path, 
	String^ alias
)

Parameters

path
Type: System..::..String
the path to a ttf- or ttc-file
alias
Type: System..::..String
the alias you want to use for the font

See Also