Skip to content

PDFBgraRenderingSurface<T>

Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces

Defines an BGRA rendering surface that uses an array of integers or bytes as storage.

public class PDFBgraRenderingSurface<T> : PDFRenderingSurface, O2S.Components.PDF4NET.Content.IImageDataProvider

Type Parameters

T

Inheritance ObjectPDFRenderingSurfacePDFBgraRenderingSurface<T>
Implements IImageDataProvider

Fields

Constructors

PDFBgraRenderingSurface(Int32, Int32)

Initializes a new PDFBgraRenderingSurface<T> object.

public PDFBgraRenderingSurface(int width, int height)

Parameters

width Int32
Surface width.

height Int32
Surface height.


PDFBgraRenderingSurface()

Initializes a new PDFBgraRenderingSurface<T> object with an empty storage.

public PDFBgraRenderingSurface()

Properties

Bitmap

Gets the surface storage.

public T[] Bitmap { get; }

Property Value

T[]
Array that stores the page image in BGRA 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