PDFReaderControls.NET Professional Type Reference

Font.GetTrueTypeFontNames Method 

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

public static string[] GetTrueTypeFontNames(
   string path
);

Parameters

path
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

Font Class | TallComponents.PDF.Fonts Namespace