M_PDFiumSharp_PDFiumBitmap__ctor_1 - ArgusMagnus/PDFiumSharp GitHub Wiki
Creates a new PDFiumBitmap. Unmanaged memory is allocated which must be freed by calling Dispose(FPDF_BITMAP).
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0
C#
public PDFiumBitmap(
int width,
int height,
bool hasAlpha
)
- width
- Type: System.Int32
The width of the new bitmap. - height
- Type: System.Int32
The height of the new bitmap. - hasAlpha
- Type: System.Boolean
A value indicating wheter the new bitmap has an alpha channel.
A bitmap created with this overload always uses 4 bytes per pixel. Depending on hasAlpha the Format is then either FPDFBitmap_BGRA or FPDFBitmap_BGRx.
PDFiumBitmap Class
PDFiumBitmap Overload
PDFiumSharp Namespace