Skip to content

PdfGray8StripRenderingSurface Class

Definition

Namespace: Xfinium.Pdf.Rendering.RenderingSurfaces

Defines a Gray8 strip based rendering surface

C#
public class PdfGray8StripRenderingSurface : PdfStripRenderingSurface<T>, IImageDataProvider, IMaskRenderingSurface

Inheritance: Object → PdfRenderingSurface → PdfStripRenderingSurface<T> → PdfGray8StripRenderingSurface

Implements: IImageDataProvider, IMaskRenderingSurface

Constructors

Name Description
PdfGray8StripRenderingSurface(Int32,Int32) Initializes a new PdfGray8StripRenderingSurface object.
PdfGray8StripRenderingSurface() Initializes a new PdfGray8StripRenderingSurface object with an empty storage.

Properties

Name Description
Bitmap
(inherited from PdfStripRenderingSurface<T>)
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.