EncoderParameter Constructor (Encoder^, Int32, Int32)
.NET Framework (current version)
Initializes a new instance of the EncoderParameter class with the specified Encoder object and a pair of 32-bit integers. The pair of integers represents a fraction, the first integer being the numerator, and the second integer being the denominator. Sets the ValueType property to ValueTypeRational, and sets the NumberOfValues property to 1.
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.
- numerator
-
Type:
System::Int32
A 32-bit integer that represents the numerator of a fraction. Must be nonnegative.
- denominator
-
Type:
System::Int32
A 32-bit integer that represents the denominator of a fraction. Must be nonnegative.
.NET Framework
Available since 1.1
Available since 1.1
Show: