xtd::drawing::imaging::encoder_parameter::encoder_parameter | ( | const xtd::drawing::imaging::encoder & | encoder, |
std::vector< int16 > | value | ||
) |
Initializes a new instance of the xtd::drawing::imaging::encoder_parameter class with the specified Encoder object and an array of signed 16-bit integers. Sets the xtd::drawing::imaging::encoder_parameter::value_type property to ValueTypeShort, 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 16-bit signed integers that specifies the values stored in the xtd::drawing::imaging::encoder_parameter object. |