Skip to content

PDFRgbRenderingSurface

Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces

Defines an RGB rendering surface that uses an array of bytes as storage.

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

Inheritance ObjectPDFRenderingSurfacePDFByteRenderingSurfacePDFRgbRenderingSurface
Implements IImageDataProvider

Fields

Constructors

PDFRgbRenderingSurface(Int32, Int32)

Initializes a new PDFRgbRenderingSurface object.

public PDFRgbRenderingSurface(int width, int height)

Parameters

width Int32
Surface width.

height Int32
Surface height.


PDFRgbRenderingSurface()

Initializes a new PDFRgbRenderingSurface object with an empty storage.

public PDFRgbRenderingSurface()

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