com.aspose.html

Class HTMLBaseFontElement

    • Constructor Detail

      • HTMLBaseFontElement

        public HTMLBaseFontElement(DOMName name,
                                   Document doc)

        Initializes a new instance of the HTMLBaseFontElement 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 int getSize()

        Computed 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(int value)

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