RotateAngleSearchCriteria class

RotateAngleSearchCriteria class

Represents criteria allowing filtering by watermark rotate angle.

Learn more:

The RotateAngleSearchCriteria type exposes the following members:

Constructors

Constructor Description
init Initializes a new RotateAngleSearchCriteria with a starting angle and an ending angle.

Methods

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)

Properties

Property Description
maximum_angle The ending angle in degrees.
minimum_angle The starting angle in degrees.

Example

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()

Guides

Task guides that use RotateAngleSearchCriteria:

See Also