Skip to content

# PDFByteRenderingSurface

Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces

    public class PDFByteRenderingSurface : PDFRenderingSurface, O2S.Components.PDF4NET.Content.IImageDataProvider

Inheritance Object → PDFRenderingSurface → PDFByteRenderingSurface
Implements IImageDataProvider

## Fields

## Properties

### Bitmap

Gets the surface storage.

    public Byte[] Bitmap { get; }

Property Value

Byte[]
Array of ints that stores the page image in ARGB format.

### Height

Gets or sets the surface height.

    public int Height { get; }

Property Value

Int32
The height of the surface in pixels.

### Width

Gets the surface width.

    public int Width { get; }

Property Value

Int32
The width of the surface in pixels.

## Methods

### SetColorForOpaquePixels(Int32)

Adjusts the surface transparency with the new alpha.

    public void SetColorForOpaquePixels(int argb)

Parameters

`argb` Int32