Click or drag to resize

PdfiumFFPDFBitmap_StretchTo Method

Clone and stretch the bitmap.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FFPDFBitmap_StretchTo(
	IntPtr bitmap,
	int width,
	int height,
	ImageInterpolation flags = ImageInterpolation.Default,
	FX_RECT clip = null
)

Parameters

bitmap  IntPtr
A handle to the device independent bitmap.
width  Int32
The width, in pixels, of the resulting bitmap.
height  Int32
The height, in pixels, of the resulting bitmap.
flags  ImageInterpolation  (Optional)
A flag indicating the interpolation mode.
clip  FX_RECT  (Optional)
Clipping area.

Return Value

IntPtr
A bitmap descriptor containing copied pixels. When an application is finished using the bitmap handle returned by FFPDFBitmap_StretchTo(IntPtr, Int32, Int32, ImageInterpolation, FX_RECT), use the FPDFBitmap_Destroy(IntPtr) function to close the handle.
See Also