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

# RgbaBuffer

## Overview

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

Raw RGBA pixel buffer returned by a IPageRenderer.

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

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Data` | `byte[]` | Read | RGBA pixel data (4 bytes per pixel, row-major, top row first). |
| `Width` | `int` | Read | Image width in pixels. |
| `Height` | `int` | Read | Image height in pixels. |

## Methods

| Signature | Description |
|-----------|-------------|
| `RgbaBuffer(data: byte[], width: int, height: int)` | Calls RgbaBuffer on this RgbaBuffer instance. |

## See Also

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