public final class TextParagraphAbsorber extends TextAbsorber
Represents an absorber object of text paragraphs.
Performs text search and provides access to search results via TextParagraphAbsorber.TextParagraphs
collection.
Constructor and Description |
---|
TextParagraphAbsorber(Rectangle[] rectangles)
Initializes a new instance of the
TextParagraphAbsorber with rectangles collection. |
Modifier and Type | Method and Description |
---|---|
Rectangle[] |
getRectangles()
Gets or sets ractangles that the
TextParagraphAbsorber used to searche for text paragraphs on the PDF document or page. |
TextParagraphCollection |
getTextParagraphs()
Gets collection of search occurrences that are presented with
TextParagraph objects. |
void |
setRectangles(Rectangle[] value) |
void |
setTextParagraphs(TextParagraphCollection value) |
void |
visit(Page page)
Performs search on the specified page.
|
getExtractionOptions, getText, getTextSearchOptions, setExtractionOptions, setTextSearchOptions, visit, visit
public TextParagraphAbsorber(Rectangle[] rectangles)
Initializes a new instance of the TextParagraphAbsorber
with rectangles collection.
rectangles
- The paragraphs' rectangles.
public TextParagraphCollection getTextParagraphs()
Gets collection of search occurrences that are presented with TextParagraph
objects.
public void setTextParagraphs(TextParagraphCollection value)
public Rectangle[] getRectangles()
Gets or sets ractangles that the TextParagraphAbsorber
used to searche for text paragraphs on the PDF document or page.
public void setRectangles(Rectangle[] value)
public void visit(Page page)
Performs search on the specified page.
visit
in class TextAbsorber
page
- Pdf pocument page object.Copyright © 2014 Aspose. All Rights Reserved.