Click or drag to resize

PDFNetGetSystemFontListJSON Method

Returns a JSON entry with all the fonts that PDFNet has access to. Custom fonts can be added by providing a path to their directory via pdftron.PDFNet.AddResourceSearchPath Each entry consists of a file path, a display name, and a PDFTron name. For most fonts (C:/Windows/Fonts), the display name can be used in UI widgets. For fonts either downloaded or imported use the full path, but use ms-appdata:///local for the local folder and ms-appx:/// for the installed location, and append a # followed by the display name. For example, a font in the App's Assets folder called font.ttf, with display name Custom Font would be used in a UI wiget as follows: "ms-appx:///Assets/font.ttf#Custom Font" For all fonts, the PDFTron name is to be used for creating fonts used in the PDF

Namespace:  pdftron
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static string GetSystemFontListJSON()

Return Value

Type: String
All the system font as JSON
See Also