IsFontLoaded

Check to see if a font is loaded in the Font Dictionary with the given name.

Not intended to be used directly from your code.

IsFontLoaded(FontDictionaryName As String) As Boolean

Value passed to this procedure:

FontDictionaryNameThe name used to reference the font within the document Font Dictionary. The FontDictionaryName is assigned to the font when you call LoadFont.

Example

Dim cPDF As New vbPDF

..

If cPDF.IsFontLoaded("CourierBoldItalic") Then Exit Sub