com.aspose.html

Class HTMLPreElement

    • Constructor Detail

      • HTMLPreElement

        public HTMLPreElement(DOMName name,
                              Document doc)

        Initializes a new instance of the HTMLPreElement class.

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

      • getWidth

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

        Fixed width for content. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

      • setWidth

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

        Fixed width for content. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.