iText 9.7.0 API
iText.Kernel.Pdf.Canvas.Parser.Listener.IPdfTextLocation Interface Reference

Instances of this interface represent a piece of text, somewhere on a page in a pdf document. More...

Inheritance diagram for iText.Kernel.Pdf.Canvas.Parser.Listener.IPdfTextLocation:
iText.Kernel.Pdf.Canvas.Parser.Listener.DefaultPdfTextLocation

Public Member Functions

Rectangle  GetRectangle ()
 
String  GetText ()
 
Returns
the text

 

Detailed Description

Instances of this interface represent a piece of text, somewhere on a page in a pdf document.

Member Function Documentation

◆ GetRectangle()

Rectangle iText.Kernel.Pdf.Canvas.Parser.Listener.IPdfTextLocation.GetRectangle ( )
Returns
the visual iText.Kernel.Geom.Rectangle in which the text is located

Implemented in iText.Kernel.Pdf.Canvas.Parser.Listener.DefaultPdfTextLocation.