Method GetTrueTypeFontNames

Namespace TallComponents.PDF.Layout.Fonts
Class Font

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

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

Syntax

public  String[]  GetTrueTypeFontNames( String  path )

Returns

String[]

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

Parameters


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