EncoderParameterValueType (Windows CE 5.0)
This enumeration provides values that are used with elements from the EncoderValue enumeration to describe the properties of an image encoder in an EncoderParameter object.
enum EncoderParameterValueType { EncoderParameterValueTypeByte = 1, EncoderParameterValueTypeASCII = 2, EncoderParameterValueTypeShort = 3, EncoderParameterValueTypeLong = 4, EncoderParameterValueTypeRational = 5, EncoderParameterValueTypeLongRange = 6, EncoderParameterValueTypeUndefined = 7, EncoderParameterValueTypeRationalRange = 8};
Elements
EncoderParameterValueTypeByte
Indicates that the parameter is an 8-bit unsigned int.EncoderParameterValueTypeASCII
Indicates that the parameter is an 8-bit byte containing one 7-bit ASCII code and is NULL terminated.EncoderParameterValueTypeShort
Indicates that the parameter is a 16-bit unsigned int.EncoderParameterValueTypeLong
Indicates that the parameter is a 32-bit unsigned int.EncoderParameterValueTypeRational
Indicates that the parameter is two long values that should be interpreted as a fraction.The first long value is the numerator; the second long value is the denominator.
EncoderParameterValueTypeLongRange
Indicates that the parameter is two long values that define a range of integer values.The first long value specifies the low end of the range; the second long value specifies the high end of the range. The range includes both end values.
EncoderParameterValueTypeUndefined
Indicates that the parameter is an 8-bit byte that can be interpreted in any way.EncoderParameterValueTypeRationalRange
Indicates that the parameter is two rational numbers, defined by EncoderParameterValueTypeRational, that define a range of rational numbers.The first rational value specifies the low end of the range; the second value specifies the high end of the range. The range includes both end values.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
See Also
Send Feedback on this topic to the authors