com.groupdocs.conversion.options.convert

Class Font

    • Constructor Detail

      • Font

        public Font(String fontFamilyName,
                    float size)
        creates new Font instance
        Parameters:
        fontFamilyName - Font name
        size - Font size
    • Method Detail

      • getFamilyName

        public String getFamilyName()
        Fets font family name
        Returns:
        Font family name
      • getSize

        public float getSize()
        Gets font size
        Returns:
        Font size
      • isBold

        public boolean isBold()
        Font bold flag
        Returns:
        true if bold
      • setBold

        public void setBold(boolean bold)
        Sets Font bold flag
        Parameters:
        bold - true if bold
      • isItalic

        public boolean isItalic()
        Font italic flag
        Returns:
        true if Italic
      • setItalic

        public void setItalic(boolean italic)
        Sets font italic flag
        Parameters:
        italic - true if Italic
      • isUnderline

        public boolean isUnderline()
        Gets Font underline
        Returns:
        true if Font is underline
      • setUnderline

        public void setUnderline(boolean underline)
        Sets Font underline
        Parameters:
        underline - Font underline flag