Description

Adds a Type 1 Font to the Document object and returns a Long (32 bit Integer) value.

Syntax

Public Function AddType1Font( _
   ByVal MetricsFile As String, _
   ByVal FontFile As String _
) As Long

Parameters

MetricsFile
The path to the metrics file. Must be an .pfm or .afm file.
FontFile
The path to the font file. Must be a .pfb file.

Return Type

Long

See Also

Document Object