public class RegionTextRenderFilter extends RenderFilter
RenderFilter that only allows text within a specified rectangular region
| Constructor and Description |
|---|
RegionTextRenderFilter(Rectangle filterRect)
Constructs a filter
|
RegionTextRenderFilter(Rectangle2D filterRect)
Constructs a filter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowText(TextRenderInfo renderInfo) |
allowImagepublic RegionTextRenderFilter(Rectangle2D filterRect)
filterRect - the rectangle to filter text against. Note that this is a com.itextpdf.text.geom.Rectangle !
public RegionTextRenderFilter(Rectangle filterRect)
filterRect - the rectangle to filter text against.
public boolean allowText(TextRenderInfo renderInfo)
allowText in class RenderFilter
RenderFilter.allowText(com.itextpdf.text.pdf.parser.TextRenderInfo)
Copyright © 1998–2022. All rights reserved.