System.Drawing.Imaging.ImageFlags Enumeration

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

Syntax

[System.Flags]
public enum ImageFlags

Remarks

Documentation for this section has not yet been entered.

Members

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.

Requirements

Namespace: System.Drawing.Imaging
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0