 | PdfBitmapStretchTo(Int32, Int32, ImageInterpolation, FX_RECT) Method |
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic PdfBitmap StretchTo(
int width,
int height,
ImageInterpolation interpolation = ImageInterpolation.Default,
FX_RECT clip = null
)
Public Function StretchTo (
width As Integer,
height As Integer,
Optional interpolation As ImageInterpolation = ImageInterpolation.Default,
Optional clip As FX_RECT = Nothing
) As PdfBitmap
public:
PdfBitmap^ StretchTo(
int width,
int height,
ImageInterpolation interpolation = ImageInterpolation::Default,
FX_RECT^ clip = nullptr
)
member StretchTo :
width : int *
height : int *
?interpolation : ImageInterpolation *
?clip : FX_RECT
(* Defaults:
let _interpolation = defaultArg interpolation ImageInterpolation.Default
let _clip = defaultArg clip null
*)
-> PdfBitmap public PdfBitmap StretchTo(
int width,
int height,
ImageInterpolation interpolation = ImageInterpolation.Default,
FX_RECT clip = null
)
function StretchTo(width, height, interpolation, clip);
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
PdfBitmapA
PdfBitmap containing copied pixels.
RemarksYou 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