com.groupdocs.viewer.results

Interface TextElement<T>

  • Type Parameters:
    T - The text element type.
    All Known Subinterfaces:
    Character, Line, Word


    public interface TextElement<T>
    Represents generic text element.

    Default implementation is TextElementImpl

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      double getHeight()
      The height of the rectangle which contains the element (in pixels).
      T getValue()
      The element value.
      double getWidth()
      The width of the rectangle which contains the element (in pixels).
      double getX()
      The X coordinate of the highest left point on the page layout where the rectangle that contains element begins.
      double getY()
      The Y coordinate of the highest left point on the page layout where the rectangle that contains element begins.
    • Method Detail

      • getHeight

        double getHeight()
        The height of the rectangle which contains the element (in pixels).
      • getValue

        T getValue()
        The element value.
      • getWidth

        double getWidth()
        The width of the rectangle which contains the element (in pixels).
      • getX

        double getX()
        The X coordinate of the highest left point on the page layout where the rectangle that contains element begins.
      • getY

        double getY()
        The Y coordinate of the highest left point on the page layout where the rectangle that contains element begins.