Initializes a new instance of the xtd::drawing::imaging::encoder_parameter class with the specified Encoder object and four, 32-bit integers. The four integers represent a range of fractions. The first two integers represent the smallest fraction in the range, and the remaining two integers represent the largest fraction in the range. Sets the xtd::drawing::imaging::encoder_parameter::value_type property to ValueTypeRationalRange, and sets the xtd::drawing::imaging::encoder_parameter::number_of_values property to 1.
- Parameters
-
encoder | An xtd::drawing::imaging::encoder object that encapsulates the globally unique identifier of the parameter category. |
numerator1 | A 32-bit integer that represents the numerator of the smallest fraction in the range. Must be nonnegative. |
denominator1 | A 32-bit integer that represents the denominator of the smallest fraction in the range. Must be nonnegative. |
numerator2 | A 32-bit integer that represents the denominator of the smallest fraction in the range. Must be nonnegative. |
denominator2 | A 32-bit integer that represents the numerator of the largest fraction in the range. Must be nonnegative. |