---
title: "System::Drawing::Imaging::ColorPalette::get_Flags method"
url: "https://reference.aspose.com/pub/cpp/system.drawing.imaging/colorpalette/get_flags/"
product: "Aspose.PUB for C++"
description: "System::Drawing::Imaging::ColorPalette::get_Flags method. Returns a value that specifies how the color values in the array of colors should be interpreted in C++."
---

## ColorPalette::get_Flags method


Returns a value that specifies how the color values in the array of colors should be interpreted.

```cpp
int System::Drawing::Imaging::ColorPalette::get_Flags() const
```


### ReturnValue

1 - The color values contain alpha information; 2 - The colors are grayscale values; 3 - The colors are halftone values

## See Also

* Class [ColorPalette](../)
* Namespace [System::Drawing::Imaging](../../)
* Library [Aspose.PUB for C++](../../../)
