public class PageAreaOptions extends Object
An instance of PageAreaOptions class is used as parameter in Parser.getImages(PageAreaOptions)
and Parser.getImages(int, PageAreaOptions) methods. See the usage examples there.
| Constructor and Description |
|---|
PageAreaOptions(Rectangle rectangle)
Initializes a new instance of the
PageAreaOptions class with the size of the ignored border. |
PageAreaOptions(Rectangle rectangle,
double rectangleTolerance)
Initializes a new instance of the
PageAreaOptions class. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getRectangle()
Gets the rectangular area that contains page areas.
|
double |
getRectangleTolerance()
Gets the size of the border that is ignored when captured by the rectangular area.
|
public PageAreaOptions(Rectangle rectangle)
PageAreaOptions class with the size of the ignored border.rectangle - The rectangular area that contains page areas.public PageAreaOptions(Rectangle rectangle, double rectangleTolerance)
PageAreaOptions class.rectangle - The rectangular area that contains page areas.rectangleTolerance - The size of the border that is ignored when captured by the rectangular area. It's measured by the fraction of a text item height.public Rectangle getRectangle()
Rectangle class that represents the rectangular area that contains page areas; null if it isn't set.public double getRectangleTolerance()
Copyright © 2026. All rights reserved.