Initializes a new instance of the [SizeSearchCriteria](../../com.groupdocs.watermark.search/sizesearchcriteria) class with a specified dimension, a starting value and an ending value.
public SizeSearchCriteria(int dimension, double min, double max)
Initializes a new instance of the [SizeSearchCriteria](../../com.groupdocs.watermark.search/sizesearchcriteria) class with a specified dimension, a starting value and an ending value.
Parameters:
Parameter
Type
Description
dimension
int
The dimension [Dimension](../../com.groupdocs.watermark.common/dimension) of a watermark to search by.
min
double
The starting value.
max
double
The ending value.
getMinimum()
public final double getMinimum()
Gets the starting value.
Returns:
double - The starting value.
getMaximum()
public final double getMaximum()
Gets the ending value.
Returns:
double - The ending value.
getDimension()
public final int getDimension()
Gets the dimension of watermark to search by.
Returns:
int - The dimension of watermark to search by.
isSatisfiedBy(PossibleWatermark candidate)
public boolean isSatisfiedBy(PossibleWatermark candidate)