Skip to content

PdfRgbaIntRenderingSurface Class

Definition

Namespace: Xfinium.Pdf.Rendering.RenderingSurfaces

Defines an RGBA rendering surface that uses an array of integers as storage.

C#
public class PdfRgbaIntRenderingSurface : PdfIntRenderingSurface, IImageDataProvider

Inheritance: Object → PdfRenderingSurface → PdfIntRenderingSurface → PdfRgbaIntRenderingSurface

Implements: IImageDataProvider

Constructors

Name Description
PdfRgbaIntRenderingSurface(Int32,Int32) Initializes a new PdfRgbaIntRenderingSurface object.
PdfRgbaIntRenderingSurface() Initializes a new PdfRgbaIntRenderingSurface object with an empty storage.
PdfRgbaIntRenderingSurface(Int32[],Int32,Int32,Int32,Int32) Initializes a new PdfRgbaIntRenderingSurface object.

Properties

Name Description
Bitmap Gets the surface storage.
(inherited from PdfIntRenderingSurface)
Height Gets the surface height.
(inherited from PdfRenderingSurface)
Type Gets the type of the rendering surface.
(inherited from PdfRenderingSurface)
Width Gets the surface width.
(inherited from PdfRenderingSurface)

Methods

Name Description
Save Saves the rendering surface to the specified file.
(inherited from PdfRenderingSurface)
SetColorForOpaquePixels Adjusts the surface transparency with the new alpha.
(inherited from PdfIntRenderingSurface)