Skip to content

M_PDFiumSharp_PDFiumBitmap__ctor

ArgusMagnus edited this page Mar 29, 2017 · 1 revision

PDFiumBitmap Constructor (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.

Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

public PDFiumBitmap(
	int width,
	int height,
	BitmapFormats format,
	IntPtr scan0,
	int stride
)

Parameters

 

width
Type: System.Int32
The width of the new bitmap.
height
Type: System.Int32
The height of the new bitmap.
format
Type: PDFiumSharp.BitmapFormats
The format of the new bitmap.
scan0
Type: System.IntPtr
The adress of the memory block which holds the pixel values.
stride
Type: System.Int32
The number of bytes per image row.

See Also

Reference

PDFiumBitmap Class
PDFiumBitmap Overload
PDFiumSharp Namespace

Clone this wiki locally