xtd 0.2.0
Loading...
Searching...
No Matches

◆ encoder_parameter() [14/15]

xtd::drawing::imaging::encoder_parameter::encoder_parameter ( const xtd::drawing::imaging::encoder encoder,
std::vector< int64 rangebegin,
std::vector< int64 rangeend 
)

Initializes a new instance of the xtd::drawing::imaging::encoder_parameter class with the specified Encoder object and two arrays of 64-bit integers. The two arrays represent an array integer ranges. Sets the xtd::drawing::imaging::encoder_parameter::value_type property to ValueTypeLongRange, and sets the xtd::drawing::imaging::encoder_parameter::number_of_values property to the number of elements in the rangebegin array, which must be the same as the number of elements in the rangeend array.

Parameters
encoderAn xtd::drawing::imaging::encoder object that encapsulates the globally unique identifier of the parameter category.
rangebeginAn array of 64-bit integers that specifies the minimum values for the integer ranges. The integers in the array must be nonnegative. The 64-bit integers are converted to 32-bit integers before they are stored in the xtd::drawing::imaging::encoder_parameter object.
rangeendAn array of 64-bit integers that specifies the maximum values for the integer ranges. The integers in the array must be nonnegative. The 64-bit integers are converted to 32-bit integers before they are stored in the EncoderParameters object. A maximum value of a given index is paired with the minimum value of the same index.