PdfBlackWhiteRenderingSurface Class
Definition
Namespace: Xfinium.Pdf.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) |
| 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) |