public final class TextAreaSearchOptions extends Object
Provides the options for extracting text areas.
Constructor and Description |
---|
TextAreaSearchOptions()
Initializes a new instance of the
TextAreaSearchOptions class. |
Modifier and Type | Method and Description |
---|---|
String |
getExpression()
Gets a regular expression.
|
boolean |
getIgnoreFormatting()
Gets a value indicating whether text formatting is ignored.
|
Rectangle |
getRectangle()
Gets a rectangle.
|
boolean |
getUniteSegments()
Gets a value indicating whether nearby standing text segments are united.
|
void |
setExpression(String value)
Sets a regular expression.
|
void |
setIgnoreFormatting(boolean value)
Sets a value indicating whether text formatting is ignored.
|
void |
setRectangle(Rectangle value)
Sets a rectangle.
|
void |
setUniteSegments(boolean value)
Sets a value indicating whether nearby standing text segments are united.
|
public TextAreaSearchOptions()
Initializes a new instance of the TextAreaSearchOptions
class.
public String getExpression()
Gets a regular expression.
public void setExpression(String value)
Sets a regular expression.
value
- A string that represents the regular expression which is used to extract text areas;
null or empty string if regular expression isn't used.public Rectangle getRectangle()
Gets a rectangle.
Rectangle
class that bounds the extraction.public void setRectangle(Rectangle value)
Sets a rectangle.
value
- An instance of Rectangle
class that bounds the extraction.public boolean getIgnoreFormatting()
Gets a value indicating whether text formatting is ignored.
public void setIgnoreFormatting(boolean value)
Sets a value indicating whether text formatting is ignored.
value
- A boolean true if text formatting is ignored; otherwise, false.public boolean getUniteSegments()
Gets a value indicating whether nearby standing text segments are united.
public void setUniteSegments(boolean value)
Sets a value indicating whether nearby standing text segments are united.
value
- A boolean true if nearby standing text segments are united; otherwise, false.Copyright © 2019. All rights reserved.