PDF Plugin for Xojo |

# PDFDocument.LoadType1Font Method (console safe)

Loads Type1 Postscript font from files.

LoadType1Font(
afmFile as FolderItem,
pfmFile as FolderItem,
encoding as Font.FontEncodingEnum) as Font

#### Parameters

afmFile
  The afm file for the font.
pfmFile
  The pfb file for the font.
encoding
  Desired encoding of the font. (Note currently only Western Encodings supported for Type1 fonts)

#### Returns

Font
  The font or nil if there was error.

#### Remarks

#### See Also

PDFDocument Class