Skip to content

PDFBlackWhiteStripRenderingSurface

Namespace: O2S.Components.PDF4NET.Rendering.RenderingSurfaces

Defines a black and white strip based rendering surface

public class PDFBlackWhiteStripRenderingSurface : PDFStripRenderingSurface`1, O2S.Components.PDF4NET.Content.IImageDataProvider

Inheritance ObjectPDFRenderingSurfacePDFStripRenderingSurface<Byte>PDFBlackWhiteStripRenderingSurface
Implements IImageDataProvider

Fields

Constructors

PDFBlackWhiteStripRenderingSurface(Int32, Int32)

Initializes a new PDFBlackWhiteStripRenderingSurface object.

public PDFBlackWhiteStripRenderingSurface(int width, int height)

Parameters

width Int32
Surface width.

height Int32
Surface height.


PDFBlackWhiteStripRenderingSurface()

Initializes a new PDFBlackWhiteStripRenderingSurface object with an empty storage.

public PDFBlackWhiteStripRenderingSurface()

Properties

BinarizationFilter

Gets or sets the binarization filter used to fill the content of the rendering surface.

public PDFBinarizationFilter BinarizationFilter { get; set; }

Property Value

PDFBinarizationFilter
A binarization filter for converting the grayscale data to black and white.


Bitmap

Gets the surface storage.

public Byte[][] Bitmap { get; }

Property Value

Byte[][]
Array that stores the page image in ARGB format.


Height

Gets or sets the surface height.

public int Height { get; }

Property Value

Int32
The height of the surface in pixels.


Width

Gets the surface width.

public int Width { get; }

Property Value

Int32
The width of the surface in pixels.


Methods