com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class TextArea



  • public final class TextArea
    extends Object

    Provides a text area.

    • Constructor Detail

      • TextArea

        public TextArea(List<TextAreaItem> items,
                DocumentPage page)

        Initializes a new instance of the TextArea class.

        Parameters:
        items - A collection of TextAreaItem objects.
        page - An instance of DocumentPage class where this object is added.
      • TextArea

        public TextArea(Rectangle rectangle,
                String text,
                DocumentPage page)

        Initializes a new instance of the TextArea class.

        Parameters:
        rectangle - A rectangle of the text area.
        text - A text of the text area.
        page - An instance of DocumentPage class where this object is added.
    • Method Detail

      • getPage

        public DocumentPage getPage()

        Gets a page which contains this text area.

        Returns:
        An instance ofDocumentPage class which contains this text area.
      • getRectangle

        public Rectangle getRectangle()

        Gets a rectangle of the text area.

        Returns:
        An instance of Rectangle class.
      • getText

        public String getText()

        Gets a text of the text area.

        Returns:
        A string that represents the text of the text area.
      • getItems

        public List<TextAreaItem> getItems()

        Gets a collection of text area items.

        Returns:
        A read-only collection of TextAreaItem objects.
      • dispose

        public void dispose()

        Removes this text area from Page.