Used to specify the data type of the EncoderParameter used with the Save(String, ImageCodecInfo, EncoderParameters) method of an image.
| C# | Visual Basic |
public enum EncoderParameterValueType
Public Enumeration EncoderParameterValueType
| Member | Description |
|---|---|
| ValueTypeByte |
Specifies that each value in the array is an 8-bit unsigned integer.
|
| ValueTypeAscii |
Specifies that the array of values is a null-terminated ASCII character string.
Note that the NumberOfValues data member of the EncoderParameter object indicates the length of the character string including the NULL terminator.
|
| ValueTypeShort |
Specifies that each value in the array is a 16-bit, unsigned integer.
|
| ValueTypeLong |
Specifies that each value in the array is a 32-bit unsigned integer.
|
| ValueTypeRational |
Specifies that each value in the array is a pair of 32-bit unsigned integers.
Each pair represents a fraction, the first integer being the numerator and the second integer being the denominator.
|
| ValueTypeLongRange |
Specifies that each value in the array is a pair of 32-bit unsigned integers.
Each pair represents a range of numbers.
|
| ValueTypeUndefined |
Specifies that the array of values is an array of bytes that has no data type defined.
|
| ValueTypeRationalRange |
Specifies that each value in the array is a set of four, 32-bit unsigned integers.
The first two integers represent one fraction, and the second two integers represent a second fraction.
The two fractions represent a range of rational numbers.
The first fraction is the smallest rational number in the range, and the second fraction is the largest rational number in the range.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|