Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This enumeration provides values that are used with elements from the EncoderValueenumeration to describe the properties of an image encoder in an EncoderParameterobject.

Syntax

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

Header imaging.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also