EncoderParameter Constructor (Encoder^, array<Int64>^, array<Int64>^)
Initializes a new instance of the EncoderParameter class with the specified Encoder object and two arrays of 64-bit integers. The two arrays represent an array integer ranges. Sets the ValueType property to ValueTypeLongRange, and sets the NumberOfValues property to the number of elements in the rangebegin array, which must be the same as the number of elements in the rangeend array.
Assembly: System.Drawing (in System.Drawing.dll)
public: EncoderParameter( Encoder^ encoder, array<long long>^ rangebegin, array<long long>^ rangeend )
Parameters
- encoder
-
Type:
System.Drawing.Imaging::Encoder^
An Encoder object that encapsulates the globally unique identifier of the parameter category.
- rangebegin
-
Type:
array<System::Int64>^
An array of 64-bit integers that specifies the minimum values for the integer ranges. 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.
- rangeend
-
Type:
array<System::Int64>^
An array of 64-bit integers that specifies the maximum values for the integer ranges. The integers in the array must be nonnegative. The 64-bit integers are converted to 32-bit integers before they are stored in the EncoderParameters object. A maximum value of a given index is paired with the minimum value of the same index.
Available since 1.1