PdfGray8RenderingSurface Class
Definition
Namespace: Xfinium.Pdf.Rendering.RenderingSurfaces
Defines a Gray8 rendering surface that uses an array of bytes as storage.
C#
public class PdfGray8RenderingSurface : PdfByteRenderingSurface, IImageDataProvider, IMaskRenderingSurface
Inheritance: Object → PdfRenderingSurface → PdfByteRenderingSurface → PdfGray8RenderingSurface
Implements: IImageDataProvider, IMaskRenderingSurface
Constructors
| Name | Description |
|---|---|
| PdfGray8RenderingSurface() | Initializes a new PdfGray8RenderingSurface object with an empty storage. |
| PdfGray8RenderingSurface(Int32,Int32) | Initializes a new PdfGray8RenderingSurface object. |
| PdfGray8RenderingSurface(Int32,Int32,Int32,Int32) | Initializes a new PdfGray8RenderingSurface object. |
Properties
| Name | Description |
|---|---|
| Bitmap | Gets the surface storage. (inherited from PdfByteRenderingSurface) |
| 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 PdfByteRenderingSurface) |