ICanvasRenderingContext2DPutImageData Method (IImageData, Double, Double)
Paints data from the given ImageData object onto the bitmap. If a dirty rectangle is provided, only the pixels from that rectangle are painted. This method is not affected by the canvas transformation matrix.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
void PutImageData(
	IImageData imagedata,
	double dx,
	double dy
)

Parameters

imagedata
Type: Aspose.Html.Dom.CanvasIImageData
An ImageData object containing the array of pixel values.
dx
Type: SystemDouble
Horizontal position (x-coordinate) at which to place the image data in the destination canvas.
dy
Type: SystemDouble
Vertical position (y-coordinate) at which to place the image data in the destination canvas.
See Also