EncoderParameter Constructor (Encoder^, array<Byte>^, Boolean)

 

Initializes a new instance of the EncoderParameter class with the specified Encoder object and an array of bytes. Sets the ValueType property to ValueTypeUndefined or ValueTypeByte, and sets the NumberOfValues property to the number of elements in the array.

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public:
EncoderParameter(
	Encoder^ encoder,
	array<unsigned char>^ value,
	bool undefined
)

Parameters

encoder
Type: System.Drawing.Imaging::Encoder^

An Encoder object that encapsulates the globally unique identifier of the parameter category.

value
Type: array<System::Byte>^

An array of bytes that specifies the values stored in the EncoderParameter object.

undefined
Type: System::Boolean

If true, the ValueType property is set to ValueTypeUndefined; otherwise, the ValueType property is set to ValueTypeByte.

.NET Framework
Available since 1.1
Return to top
Show: