ImageFlags Enumeration

ImageFlags Enumeration

 

Specifies the attributes of the pixel data contained in an Image object. The Flags property returns a member of this enumeration.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

[FlagsAttribute]
public enum ImageFlags

Member nameDescription
Caching

The pixel data can be cached for faster access.

ColorSpaceCmyk

The pixel data uses a CMYK color space.

ColorSpaceGray

The pixel data is grayscale.

ColorSpaceRgb

The pixel data uses an RGB color space.

ColorSpaceYcbcr

Specifies that the image is stored using a YCBCR color space.

ColorSpaceYcck

Specifies that the image is stored using a YCCK color space.

HasAlpha

The pixel data contains alpha information.

HasRealDpi

Specifies that dots per inch information is stored in the image.

HasRealPixelSize

Specifies that the pixel size is stored in the image.

HasTranslucent

Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque).

None

There is no format information.

PartiallyScalable

The pixel data is partially scalable, but there are some limitations.

ReadOnly

The pixel data is read-only.

Scalable

The pixel data is scalable.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft