com.itextpdf.text.pdf.parser
public class RegionTextRenderFilter extends RenderFilter
RenderFilter
that only allows text within a specified rectangular regionConstructor and Description |
---|
RegionTextRenderFilter(Rectangle2D filterRect)
Constructs a filter
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowText(TextRenderInfo renderInfo) |
allowImage
public RegionTextRenderFilter(Rectangle2D filterRect)
filterRect
- the rectangle to filter text against. Note that this is a java.awt.Rectangle !public boolean allowText(TextRenderInfo renderInfo)
allowText
in class RenderFilter
RenderFilter.allowText(com.itextpdf.text.pdf.parser.TextRenderInfo)