Image.Flags Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets attribute flags for the pixel data of this Image.
public:
property int Flags { int get(); };
[System.ComponentModel.Browsable(false)]
public int Flags { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Flags : int
Public ReadOnly Property Flags As Integer
Property Value
The integer representing a bitwise combination of ImageFlags for this Image.
- Attributes
Remarks
The integer value returned from this method will correspond to a sum of ImageFlags, as described in the following table.
ImageFlag value | Integer representation |
---|---|
ImageFlagsNone |
0 |
ImageFlagsScalable |
1 |
ImageFlagsHasAlpha |
2 |
ImageFlagsHasTranslucent |
4 |
ImageFlagsPartiallyScalable |
8 |
ImageFlagsColorSpaceRGB |
16 |
ImageFlagsColorSpaceCMYK |
32 |
ImageFlagsColorSpaceGRAY |
64 |
ImageFlagsColorSpaceYCBCR |
128 |
ImageFlagsColorSpaceYCCK |
256 |
ImageFlagsHasRealDPI |
4096 |
ImageFlagsHasRealPixelSize |
8192 |
ImageFlagsReadOnly |
65536 |
ImageFlagsCaching |
131072 |
For example, if the Flags property for an image returned 77960, the ImageFlags for the image would be ReadOnly, HasRealDpi, HasRealPixelSize, ColorSpaceYcbcr, and PartiallyScalable.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET