com.aspose.html

Class HTMLImageElement

    • Constructor Detail

      • HTMLImageElement

        public HTMLImageElement(DOMName name,
                                Document doc)

        Initializes a new instance of the HTMLImageElement class.

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

      • getForm

        public HTMLFormElement getForm()

        Gets or sets the form instance.

        Value: The HTMLFormElement instance.
      • getAlign

        @DOMNameAttribute(name="align")
        public 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(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 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(String value)

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

      • getBorder

        @DOMNameAttribute(name="border")
        public String getBorder()

        Width of border around image. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1] .

      • setBorder

        @DOMNameAttribute(name="border")
        public void setBorder(String value)

        Width of border around image. See the border attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1] .

      • getHeight

        @DOMNameAttribute(name="height")
        public float getHeight()

        Height of the image in pixels. See the height attribute definition in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1].

      • setHeight

        @DOMNameAttribute(name="height")
        public void setHeight(float value)

        Height of the image in pixels. See the height attribute definition in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1].

      • getHspace

        @DOMNameAttribute(name="hspace")
        public int getHspace()

        Horizontal space to the left and right of this image in pixels. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1].

      • setHspace

        @DOMNameAttribute(name="hspace")
        public void setHspace(int value)

        Horizontal space to the left and right of this image in pixels. See the hspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1].

      • 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.

      • getLongDesc

        @DOMNameAttribute(name="longDesc")
        public String getLongDesc()

        URI [IETF RFC 2396] designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.01.

      • setLongDesc

        @DOMNameAttribute(name="longDesc")
        public void setLongDesc(String value)

        URI [IETF RFC 2396] designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.01.

      • getUseMap

        @DOMNameAttribute(name="useMap")
        public String getUseMap()

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

      • setUseMap

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

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

      • getVspace

        @DOMNameAttribute(name="vspace")
        public int getVspace()

        Vertical space above and below this image in pixels. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01. Note that the type of this attribute was "DOMString" in DOM Level 1 HTML [DOM Level 1].

      • setVspace

        @DOMNameAttribute(name="vspace")
        public void setVspace(int value)

        Vertical space above and below this image in pixels. See the vspace attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01. Note that the type of this attribute was "DOMString" in DOM Level 1 HTML [DOM Level 1].

      • getWidth

        @DOMNameAttribute(name="width")
        public float getWidth()

        The width of the image in pixels. See the width attribute definition in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1].

      • setWidth

        @DOMNameAttribute(name="width")
        public void setWidth(float value)

        The width of the image in pixels. See the width attribute definition in HTML 4.01. Note that the type of this attribute was DOMString in DOM Level 1 HTML [DOM Level 1].