EncoderParameter Constructor (Encoder^, array<Int64>^)

 

Initializes a new instance of the EncoderParameter class with the specified Encoder object and an array of 64-bit integers. Sets the ValueType property to ValueTypeLong (32-bit), 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<long long>^ value
)

Parameters

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

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

value
Type: array<System::Int64>^

An array of 64-bit integers that specifies the values stored in the EncoderParameter object. The integers in the array must be nonnegative. The 64-bit integers are converted to 32-bit integers before they are stored in the EncoderParameter object.

.NET Framework
Available since 1.1
Return to top
Show: