## BitmapData::set_PixelFormat method


Sets the pixel format of the bitmap image.

```cpp
void System::Drawing::Imaging::BitmapData::set_PixelFormat(PixelFormat value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | PixelFormat | The value to set |

## See Also

* Enum [PixelFormat](../../pixelformat/)
* Class [BitmapData](../)
* Namespace [System::Drawing::Imaging](../../)
* Library [Aspose.PDF for C++](../../../)
