com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TextDefaults



  • public class TextDefaults
    extends Object

    Defines text subsystem defaults

    • Constructor Detail

      • TextDefaults

        public TextDefaults()
    • Method Detail

      • getDefaultFontStrategy

        public static int getDefaultFontStrategy()

        Default font Strategy type

        Returns:
        DefaultFontStrategy element
        See Also:
        TextDefaults.DefaultFontStrategy
      • setDefaultFontStrategy

        public static void setDefaultFontStrategy(int value)
        Default font Strategy type
        Parameters:
        value - DefaultFontStrategy element
        See Also:
        TextDefaults.DefaultFontStrategy
      • getDefaultFont

        public static Font getDefaultFont()

        Default font

        Returns:
        Font instance
      • getPredefinedFont

        public static Font getPredefinedFont()
      • setPredefinedFont

        public static void setPredefinedFont(Font value)
      • setDefaultFonts

        public static void setDefaultFonts(List<Font> fonts)
      • getDefaultFonts

        public static List<Font> getDefaultFonts()
      • getDefaultFontForText

        public static Font getDefaultFontForText(String text)

        Default font

        Parameters:
        text - String value
        Returns:
        Font instance