Click or drag to resize

PdfBitmapStretchTo(Int32, Int32, ImageInterpolation, FX_RECT) Method

Clone and stretch this PdfBitmap.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public PdfBitmap StretchTo(
	int width,
	int height,
	ImageInterpolation interpolation = ImageInterpolation.Default,
	FX_RECT clip = null
)

Parameters

width  Int32
The width, in pixels, of the resulting PdfBitmap.
height  Int32
The height, in pixels, of the resulting PdfBitmap.
interpolation  ImageInterpolation  (Optional)
Interpolation mode.
clip  FX_RECT  (Optional)
Clipping area.

Return Value

PdfBitmap
A PdfBitmap containing copied pixels.
Remarks
You should always call the {0} Overload method to release the PdfBitmap and related resources created by the StretchTo(Int32, Int32, ImageInterpolation, FX_RECT) method.
See Also