If you are using True Type fonts, you can declare the paths of the different ttf- and ttc-files
to this static class first and then create fonts in your code using one of the static getFont-method
without having to enter a path as parameter.
Namespace: iTextSharp.textAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public sealed class FontFactory |
Visual Basic |
---|
Public NotInheritable Class FontFactory |
Visual C++ |
---|
public ref class FontFactory sealed |