xtd::drawing::imaging::encoder_parameter::encoder_parameter | ( | const xtd::drawing::imaging::encoder & | encoder, |
const xtd::string & | value | ||
) |
Initializes a new instance of the xtd::drawing::imaging::encoder_parameter class with the specified xtd::drawing::imaging::encoder object and a character string. The string is converted to a null-terminated ASCII string before it is stored in the xtd::drawing::imaging::encoder_parameter object. Sets the xtd::drawing::imaging::encoder_parameter::value_type property to xtd::drawing::imaging::encoder_parameter_value_type::value_type_ascii, and sets the xtd::drawing::imaging::encoder_parameter::number_of_values property to the length of the ASCII string including the NULL terminator.
encoder | An xtd::drawing::imaging::encoder object that encapsulates the globally unique identifier of the parameter category. |
value | A xtd::utring that specifies the value stored in the xtd::drawing::imaging::encoder_parameter object. |