PDFBlackWhiteRenderingSurface Class
Definition
Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces
Defines a black and white rendering surface that uses an array of bytes as storage.
Inheritance: Object → PDFRenderingSurface → PDFByteRenderingSurface → PDFBlackWhiteRenderingSurface
Implements: IImageDataProvider
Constructors
| Name | Description |
|---|---|
| PDFBlackWhiteRenderingSurface(Int32,Int32) | Initializes a new PDFBlackWhiteRenderingSurface object. |
| PDFBlackWhiteRenderingSurface() | Initializes a new PDFBlackWhiteRenderingSurface object with an empty storage. |
Properties
| Name | Description |
|---|---|
| BinarizationFilter | Gets or sets the binarization filter used to fill the content of the rendering surface. |
| 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) |