com.groupdocs.viewer.fonts

Class FolderFontSource

    • Constructor Detail

      • FolderFontSource

        public FolderFontSource(String folderPath,
                        int searchOption)

        Initializes new instance of FolderFontSource class.

        Parameters:
        folderPath - Path to the folder that contains TrueType fonts.
        searchOption - Specifies whether to search the current folder, or the current folder and all sub-folders.
        Throws:
        IllegalArgumentException - Thrown when folderPath is null.
        com.groupdocs.viewer.exception.FileNotFoundException - Thrown when path specified in folderPath can't be located.