M_PDFiumSharp_PDFium_FPDFBitmap_GetBuffer - ArgusMagnus/PDFiumSharp GitHub Wiki
Get data buffer of a bitmap.
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0
C#
public static IntPtr FPDFBitmap_GetBuffer(
FPDF_BITMAP bitmap
)
- bitmap
- Type: PDFiumSharp.Types.FPDF_BITMAP
Handle to the bitmap as returned by FPDFBitmap_Create(Int32, Int32, Boolean).
Type: IntPtr
The pointer to the first byte of the bitmap buffer.
The stride may be more than width * number of bytes per pixel Applications can use this function to get the bitmap buffer pointer, then manipulate any color and/or alpha values for any pixels in the bitmap. The data is in BGRA format. Where the A maybe unused if alpha was not specified.