M_PDFiumSharp_PDFiumBitmap__ctor - ArgusMagnus/PDFiumSharp GitHub Wiki
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
C#
public PDFiumBitmap(
int width,
int height,
BitmapFormats format,
IntPtr scan0,
int stride
)
- 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.
PDFiumBitmap Class
PDFiumBitmap Overload
PDFiumSharp Namespace