TextFormattingSearchCriteria class
TextFormattingSearchCriteria class
Represents criteria allowing filtering by text formatting.
Inheritance: TextFormattingSearchCriteria →
SearchCriteria
The TextFormattingSearchCriteria type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the TextFormattingSearchCriteria class. |
Properties
| Property | Description |
|---|---|
| foreground_color_range | Gets or sets the range of colors which are used to filter watermarks by text foreground color. |
| background_color_range | Gets or sets the range of colors which are used to filter watermarks by text background color. |
| font_name | Gets or sets the name of the font which is used in possible watermark text formatting. |
| min_font_size | Gets or sets the starting value of the font size. |
| max_font_size | Gets or sets the ending value of the font size. |
| font_bold | Gets or sets a value indicating whether the font used in watermark text formatting is bold. |
| font_italic | Gets or sets a value indicating whether the font used in watermark text formatting is italic. |
| font_underline | Gets or sets a value indicating whether the font used in watermark text formatting is underline. |
| font_strikeout | Gets or sets a value indicating whether the font used in watermark text formatting is strikeout. |
Methods
| Method | Description |
|---|---|
| both | Combines this SearchCriteria with other criteria using logical AND operator. |
| either | Combines this SearchCriteria with other criteria using logical OR operator. |
| is_not | Negates this SearchCriteria. |
Remarks
Learn more: | | |
Example
Remove possible watermarks with a particular text formatting (regardless of document type).
See Also
- module
groupdocs.watermark.search.searchcriteria - class
SearchCriteria - class
TextFormattingSearchCriteria