PDFBlackWhiteRenderingSurface¶
Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces
Defines a black and white rendering surface that uses an array of bytes as storage.
public class PDFBlackWhiteRenderingSurface : PDFByteRenderingSurface, O2S.Components.PDF4NET.Content.IImageDataProvider
Inheritance Object → PDFRenderingSurface → PDFByteRenderingSurface → PDFBlackWhiteRenderingSurface
Implements IImageDataProvider
Fields¶
Constructors¶
PDFBlackWhiteRenderingSurface(Int32, Int32)¶
Initializes a new PDFBlackWhiteRenderingSurface object.
Parameters
width Int32
Surface width.
height Int32
Surface height.
PDFBlackWhiteRenderingSurface()¶
Initializes a new PDFBlackWhiteRenderingSurface object with an empty storage.
Properties¶
BinarizationFilter¶
Gets or sets the binarization filter used to fill the content of the rendering surface.
Property Value
PDFBinarizationFilter
A binarization filter for converting the grayscale data to black and white.
Bitmap¶
Gets the surface storage.
Property Value
Byte[]
Array of ints that stores the page image in ARGB format.
Height¶
Gets or sets the surface height.
Property Value
Int32
The height of the surface in pixels.
Width¶
Gets the surface width.
Property Value
Int32
The width of the surface in pixels.