---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/BitmapInfo
---

# BitmapInfo

## Overview

`BitmapInfo` is a class in Aspose.PDF FOSS for .NET.

This class provides 2 methods for working with BitmapInfo objects in .NET programs.
Available methods include: `BitmapInfo`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Format`, `Height`, `PixelBytes`, `Width`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Width` | `int` | Read | Gets the width. |
| `Height` | `int` | Read | Gets the height. |
| `PixelBytes` | `byte[]` | Read | Gets the pixel bytes. |
| `Format` | `PixelFormat` | Read | Gets the format. |

## Methods

| Signature | Description |
|-----------|-------------|
| `BitmapInfo()` | Calls BitmapInfo on this BitmapInfo instance. |
| `BitmapInfo(pixelBytes: byte[], width: int, height: int, format: PixelFormat)` |  |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)