PDFGray8RenderingSurface Class
Definition
Namespace: O2S.Components.PDF4NET.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) |
| 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) |