EncoderParameter Constructor (Encoder^, String^)
.NET Framework (current version)
Initializes a new instance of the EncoderParameter class with the specified Encoder object and a character string. The string is converted to a null-terminated ASCII string before it is stored in the EncoderParameter object. Sets the ValueType property to ValueTypeAscii, and sets the NumberOfValues property to the length of the ASCII string including the NULL terminator.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- encoder
-
Type:
System.Drawing.Imaging::Encoder^
An Encoder object that encapsulates the globally unique identifier of the parameter category.
- value
-
Type:
System::String^
A String that specifies the value stored in the EncoderParameter object.
.NET Framework
Available since 1.1
Available since 1.1
Show: