Click or drag to resize

PdfiumFPDFBitmap_GetPitch Method

Note: This API is now obsolete.

Gets number of bytes for each scan line in the bitmap Buffer.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
[ObsoleteAttribute("This method is obsolete and will be removed in a future release of the Pdfium .Net SDK. Please use FPDFBitmap_GetStride instead.", 
	false)]
public static int FPDFBitmap_GetPitch(
	IntPtr bitmap
)

Parameters

bitmap  IntPtr
A handle to the device independent bitmap.

Return Value

Int32
Integer that specifies the byte offset between the beginning of one scan line and the next. This is usually (but not necessarily) the number of bytes in the pixel format (for example, 2 for 16 bits per pixel) multiplied by the width of the bitmap. The value passed to this parameter must be a multiple of four.
Remarks
This property is obsolete and will be removed in a future release of the Pdfium .Net SDK. Please use FPDFBitmap_GetStride(IntPtr) instead.
See Also