Skip to content

T_PDFiumSharp_PDFiumBitmap

ArgusMagnus edited this page Mar 29, 2017 · 3 revisions

PDFiumBitmap Class

A bitmap to which a PdfPage can be rendered.

Inheritance Hierarchy

System.Object
  PDFiumSharp.PDFiumBitmap
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

public sealed class PDFiumBitmap : IDisposable

The PDFiumBitmap type exposes the following members.

Constructors

 

Name Description
Public method PDFiumBitmap(Int32, Int32, Boolean) Creates a new PDFiumBitmap. Unmanaged memory is allocated which must be freed by calling Dispose().
Public method PDFiumBitmap(Int32, Int32, BitmapFormats, IntPtr, Int32) Creates a new PDFiumBitmap using memory allocated by the caller. The caller is responsible for freeing the memory and that the adress stays valid during the lifetime of the returned PDFiumBitmap.
  Back to Top

Properties

 

Name Description
Public property BytesPerPixel
Public property Format
Public property Handle Handle which can be used with the native PDFium functions.
Public property Height
Public property Scan0
Public property Stride
Public property Width
  Back to Top

Methods

 

Name Description
Public method Dispose Releases all resources used by the PDFiumBitmap
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Fill Fills the whole PDFiumBitmap with color. The pixel values in the rectangle are replaced and not blended.
Public method FillRectangle Fills a rectangle in the PDFiumBitmap with color. The pixel values in the rectangle are replaced and not blended.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

PDFiumSharp Namespace

Clone this wiki locally