xtd::drawing::imaging::encoder_parameter::encoder_parameter | ( | const xtd::drawing::imaging::encoder & | encoder, |
std::vector< int64 > | value | ||
) |
Initializes a new instance of the xtd::drawing::imaging::encoder_parameter class with the specified Encoder object and an array of signed 32-bit integers. Sets the xtd::drawing::imaging::encoder_parameter::value_type property to ValueTypeLong, and sets the xtd::drawing::imaging::encoder_parameter::number_of_values property to the number of elements in the array.
encoder | An xtd::drawing::imaging::encoder object that encapsulates the globally unique identifier of the parameter category. |
value | An array of 64-bit integers that specifies the values stored in the xtd::drawing::imaging::encoder_parameter object. 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. |