Edytuj

Udostępnij za pośrednictwem


ImageFlags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class ImageFlags
[System.Flags]
public enum ImageFlags
[<System.Flags>]
type ImageFlags = 
Public Enum ImageFlags
Inheritance
ImageFlags
Attributes

Fields

Name Value Description
None 0

There is no format information.

Scalable 1

The pixel data is scalable.

HasAlpha 2

The pixel data contains alpha information.

HasTranslucent 4

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

PartiallyScalable 8

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

ColorSpaceRgb 16

The pixel data uses an RGB color space.

ColorSpaceCmyk 32

The pixel data uses a CMYK color space.

ColorSpaceGray 64

The pixel data is grayscale.

ColorSpaceYcbcr 128

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

ColorSpaceYcck 256

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

HasRealDpi 4096

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

HasRealPixelSize 8192

Specifies that the pixel size is stored in the image.

ReadOnly 65536

The pixel data is read-only.

Caching 131072

The pixel data can be cached for faster access.

Applies to