Retrieve the names of all TrueType files inside a TrueType collection file.

Namespace: TallComponents.PDF.Fonts
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1

Syntax

C#
public static string[] GetTrueTypeFontNames(
	string path
)
Visual Basic
Public Shared Function GetTrueTypeFontNames ( _
	path As String _
) As String()

Parameters

path
Type: System..::..String
Relative, absolute or virtual path to TrueType collection (.TTC) file.

Return Value

Array of TrueType font names. These names can be passed to the TrueType overload that creates a TrueType font from a TrueType collection file.

Remarks

When this method is performed on a TTF file, an empty string array is returned.

See Also