com.aspose.html

Class FontsSettings

  • java.lang.Object
    • com.aspose.html.FontsSettings


  • public class FontsSettings
    extends java.lang.Object

    Represents fonts handling settings.

    • Constructor Summary

      Constructors 
      Constructor and Description
      FontsSettings() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String[] getFontsLookupFolders()
      Gets a copy of array which contains fonts folders.
      void setFontsLookupFolder(java.lang.String fontsFolder)
      Sets folder used during fonts selection.
      void setFontsLookupFolder(java.lang.String fontsFolder, boolean recursive)
      Sets folder used during fonts selection.
      void setFontsLookupFolders(java.lang.String[] fontsFolders)
      Sets an array of folders used during fonts selection.
      void setFontsLookupFolders(java.lang.String[] fontsFolders, boolean recursive)
      Sets an array of folders used during fonts selection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FontsSettings

        public FontsSettings()
    • Method Detail

      • getFontsLookupFolders

        public final java.lang.String[] getFontsLookupFolders()

        Gets a copy of array which contains fonts folders. Fonts found in these folders are used for characters rendering.

        Returns:
        A copy of fonts folders array.
      • setFontsLookupFolder

        public final void setFontsLookupFolder(java.lang.String fontsFolder)

        Sets folder used during fonts selection.

        Parameters:
        fontsFolder - The fonts folder.
      • setFontsLookupFolder

        public final void setFontsLookupFolder(java.lang.String fontsFolder,
                                               boolean recursive)

        Sets folder used during fonts selection.

        Parameters:
        fontsFolder - The fonts folder.
        recursive - If set to true all nested directories will be used. Default value is false.
      • setFontsLookupFolders

        public final void setFontsLookupFolders(java.lang.String[] fontsFolders)

        Sets an array of folders used during fonts selection.

        Parameters:
        fontsFolders - The fonts folders.
      • setFontsLookupFolders

        public final void setFontsLookupFolders(java.lang.String[] fontsFolders,
                                                boolean recursive)

        Sets an array of folders used during fonts selection.

        Parameters:
        fontsFolders - The fonts folders.
        recursive - If set to true all nested directories will be used. Default value is false.