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 identify properties of images.

Syntax

enum ImageFlags {
  ImageFlagsNone			= 0,
  ImageFlagsScalable		= 0x0001,
  ImageFlagsHasAlpha		= 0x0002,
  ImageFlagsHasTranslucent	= 0x0004,
  ImageFlagsPartiallyScalable = 0x0008,
  ImageFlagsColorSpaceRGB	 = 0x0010,
  ImageFlagsColorSpaceCMYK	= 0x0020,
  ImageFlagsColorSpaceGRAY	= 0x0040,
  ImageFlagsColorSpaceYCBCR   = 0x0080,
  ImageFlagsColorSpaceYCCK	= 0x0100,
  ImageFlagsHasRealDPI		= 0x1000,
  ImageFlagsHasRealPixelSize  = 0x2000,
  ImageFlagsReadOnly		= 0x00010000,
  ImageFlagsCaching		 = 0x00020000,
  ImageFlagsValid			 = 0x00030000
};

Elements

ImageFlagsNone

Indicates that no other ImageFlagvalues are set.

ImageFlagsScalable

Indicates that the source image is fully scaleable.

This value is identical to the SinkFlagsenumeration value SinkFlagsScalable.

ImageFlagsHasAlpha

Indicates that the source image contains transparency.

This value is identical to the SinkFlagsenumeration value SinkFlagsHasAlpha.

ImageFlagsHasTranslucent

Indicates that the source image contains transparency.

ImageFlagsPartiallyScalable

Indicates that the source image is partially scaleable.

This value is identical to the SinkFlagsenumeration value SinkFlagsPartiallyScalable.

ImageFlagsColorSpaceRGB

Indicates that the image uses the RGB color space.

ImageFlagsColorSpaceCMYK

Indicates that the image uses the CMYK color space.

ImageFlagsColorSpaceGRAY

Indicates that the image uses the grayscale color space.

ImageFlagsColorSpaceYCBCR

Indicates that the image uses the YCBCR color space.

ImageFlagsColorSpaceYCCK

Indicates that the image uses the YCCK color space.

ImageFlagsHasRealDPI

Indicates that size of the image is expressed in dots per inch.

ImageFlagsHasRealPixelSize

Indicates that size of the image is expressed in pixels.

ImageFlagsReadOnly

Indicates that the image data is read-only.

ImageFlagsCaching

Indicates that the image can be cached.

ImageFlagsValid

Indicates the highest value in the ImageFlagsenumeration. You can use it to perform validity checks on other potential ImageFlagsvalues in your application.

Requirements

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

See Also