public final class TextSearchOptions extends TextOptions
Represents text search options
Constructor and Description |
---|
TextSearchOptions(boolean isRegularExpressionUsed)
Initializes new instance of the
TextSearchOptions object. |
TextSearchOptions(Rectangle rectangle)
Initializes new instance of the
|
TextSearchOptions(Rectangle rectangle,
boolean isRegularExpressionUsed)
Initializes new instance of the
|
Modifier and Type | Method and Description |
---|---|
boolean |
getLimitToPageBounds()
Gets indication that text is searched within the page bounds.
|
Rectangle |
getRectangle()
Gets rectangle that bounds the searched text.
|
boolean |
isRegularExpressionUsed()
Indicated that regular expression is used or not
|
void |
setLimitToPageBounds(boolean value)
Sets indication that text is searched within the page bounds.
|
void |
setRectangle(Rectangle value)
Sets rectangle that bounds the searched text.
|
public TextSearchOptions(boolean isRegularExpressionUsed)
Initializes new instance of the TextSearchOptions
object.
Specifies regular expression usage mode.
public TextSearchOptions(Rectangle rectangle)
rectangle
- public TextSearchOptions(Rectangle rectangle, boolean isRegularExpressionUsed)
rectangle
- isRegularExpressionUsed
- public boolean isRegularExpressionUsed()
Indicated that regular expression is used or not
public boolean getLimitToPageBounds()
public void setLimitToPageBounds(boolean value)
public Rectangle getRectangle()
public void setRectangle(Rectangle value)
Copyright © 2017 Aspose. All Rights Reserved.