com.aspose.html

Class HTMLFontElement

    • Constructor Detail

      • HTMLFontElement

        public HTMLFontElement(DOMName name,
                               Document doc)

        Initializes a new instance of the HTMLFontElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • getColor

        @DOMNameAttribute(name="color")
        public String getColor()

        Font color. See the color attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setColor

        @DOMNameAttribute(name="color")
        public void setColor(String value)

        Font color. See the color attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • getFace

        @DOMNameAttribute(name="face")
        public String getFace()

        Font face identifier. See the face attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setFace

        @DOMNameAttribute(name="face")
        public void setFace(String value)

        Font face identifier. See the face attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • getSize

        @DOMNameAttribute(name="size")
        public String getSize()

        Font size. See the size attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setSize

        @DOMNameAttribute(name="size")
        public void setSize(String value)

        Font size. See the size attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.