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

◆ encoder_parameter() [4/15]

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.

Parameters
encoderAn xtd::drawing::imaging::encoder object that encapsulates the globally unique identifier of the parameter category.
valueA xtd::utring that specifies the value stored in the xtd::drawing::imaging::encoder_parameter object.