FontCollectionAdd Method (Font) |
Adds a system font to the fonts collection. If the font was already added
the method returns the existing font.
Namespace:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public PdfFont Add(
Font font
)
Public Function Add (
font As Font
) As PdfFont
Parameters
- font
- Type: System.DrawingFont
The font to be added to the collection.
Return Value
Type:
PdfFontThe font added to the collection.
See Also