com.aspose.html

Class HTMLImageElement

    • Constructor Detail

      • HTMLImageElement

        public HTMLImageElement(com.aspose.html.dom.DOMName name,
                                Document doc)

        Initializes a new instance of the HTMLImageElement class.

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

      • getName

        @DOMNameAttribute(name="name")
        public java.lang.String getName()

        The name of the element (for backwards compatibility).

      • setName

        @DOMNameAttribute(name="name")
        public void setName(java.lang.String value)

        The name of the element (for backwards compatibility).

      • getAlign

        @DOMNameAttribute(name="align")
        public java.lang.String getAlign()

        Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setAlign

        @DOMNameAttribute(name="align")
        public void setAlign(java.lang.String value)

        Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • getAlt

        @DOMNameAttribute(name="alt")
        public java.lang.String getAlt()

        Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.01.

      • setAlt

        @DOMNameAttribute(name="alt")
        public void setAlt(java.lang.String value)

        Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.01.

      • isMap

        @DOMNameAttribute(name="isMap")
        public boolean isMap()

        Use server-side image map. See the ismap attribute definition in HTML 4.01.

      • setMap

        @DOMNameAttribute(name="isMap")
        public void setMap(boolean value)

        Use server-side image map. See the ismap attribute definition in HTML 4.01.

      • getUseMap

        @DOMNameAttribute(name="useMap")
        public java.lang.String getUseMap()

        Use client-side image map. See the usemap attribute definition in HTML 4.01.

      • setUseMap

        @DOMNameAttribute(name="useMap")
        public void setUseMap(java.lang.String value)

        Use client-side image map. See the usemap attribute definition in HTML 4.01.

      • dispose

        protected void dispose(boolean disposing)

        Releases unmanaged and - optionally - managed resources.

        Overrides:
        dispose in class Element
        Parameters:
        disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.
      • updateImageData

        public void updateImageData(java.lang.String value)