Contains all the specifications of a font: fontfamily, size, style and color.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
| C# |
|---|
public class Font : IComparable |
| Visual Basic |
|---|
Public Class Font _ Implements IComparable |
| Visual C++ |
|---|
public ref class Font : IComparable |
Examples
Paragraph p = new Paragraph("This is a paragraph", <strong>new Font(Font.HELVETICA, 18, Font.BOLDITALIC, new Color(0, 0, 255))</strong>);