Tries to find the first matching font.
Namespace: TallComponents.PDF.FontsAssembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1
Syntax
| C# |
|---|
public static Font Create( string familyName, bool bold, bool italic ) |
| Visual Basic |
|---|
Public Shared Function Create ( _ familyName As String, _ bold As Boolean, _ italic As Boolean _ ) As Font |
Parameters
- familyName
- Type: System..::..String
The font family to look for.
- bold
- Type: System..::..Boolean
True if a bold font needs to be resolved.
- italic
- Type: System..::..Boolean
True if a bold font needs to be resolved.