Namespace TallComponents.PDF.Fonts

Class Font

A font is used to typeset text.

There are 14 standard fonts available in PDF, or you can load a TrueType font.

C# // Internal fonts myFragment.Font = Font.Helvetica; // TrueType fonts Font arialBold = Font.TrueType( @"c:\windows\fonts\ARIALBD.TTF" ); myFragment.Font = arialBold; // TrueType fonts can also be constructed through the Path property Font arialBold = new Font(); arialBold.Path = @"c:\windows\fonts\ARIALBD.TTF"; myFragment.Font = arialBold;

Syntax

public class Font : Object

Constructors

Properties

Methods

Events