Adds a system font to the fonts collection. If the font was already added
the method returns the existing font.
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public PdfFont Add( Font font ) |
| Visual Basic |
|---|
Public Function Add ( font As Font ) As PdfFont |
| Visual C++ |
|---|
public: PdfFont^ Add( Font^ font ) |
Parameters
- font
- Type: System.Drawing..::..Font
The font to be added to the collection.
Return Value
Type: PdfFontThe font added to the collection.