Skip to content

sud.loadFont ​

JS
    string sud.loadFont(string path)

Loads a custom font file.

Parameters

string path: Font file path. Supports local paths and code package paths.

Return Value:

string: Returns the font family value if the font is loaded successfully, otherwise returns null.