RotateAngleSearchCriteria class
Leave feedback
On this page
Represents criteria allowing filtering by watermark rotate angle.
Learn more:
- Searching watermarks (https://docs.groupdocs.com/display/watermarknet/Searching+watermarks)
The RotateAngleSearchCriteria type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new RotateAngleSearchCriteria with a starting angle and an ending angle. |
| Method | Description |
|---|---|
| and_ | Combines this SearchCriteria with other criteria using the logical AND operator. (inherited from SearchCriteria) |
| and_search_criteria | (inherited from SearchCriteria) |
| not_ | Negates this SearchCriteria. (inherited from SearchCriteria) |
| or_ | Combines this SearchCriteria with other criteria using the logical OR operator. (inherited from SearchCriteria) |
| or_search_criteria | (inherited from SearchCriteria) |
| Property | Description |
|---|---|
| maximum_angle | The ending angle in degrees. |
| minimum_angle | The starting angle in degrees. |
from groupdocs.watermark import Watermarker
from groupdocs.watermark.search.search_criteria import RotateAngleSearchCriteria
def search_by_angle():
with Watermarker("./document.pdf") as watermarker:
angle_criteria = RotateAngleSearchCriteria(30, 60)
possible = watermarker.search(angle_criteria)
print("Found", len(possible), "possible watermark(s)")
if __name__ == "__main__":
search_by_angle()
Task guides that use RotateAngleSearchCriteria:
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.