See Also Examples Applies To
Adds a TrueType font to the native pdf created by the PdfNewPdfEx() function.
Syntax
object.PdfAddFont (sFontName, bBold, bItalic)
The PdfAddFont syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| sFontName | Required. String. The font name to add. |
| bBold | Optional. Boolean. Default value is False. True to set the font bold else False. |
| bItalic | Optional. Boolean. Default value is False. True to set the font italic else False. |
Returns
Long. A fontID value > 0 or 0 if the font can't be added to the native pdf.
Remarks
This function can only be used with the native PDF created by the PdfNewPdfEx() function.
Category
PDF Functions