ICanvasRenderingContext2DDrawImage Method (HTMLImageElement, Double, Double)
Draws the specified image.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
void DrawImage(
	HTMLImageElement image,
	double dx,
	double dy
)

Parameters

image
Type: Aspose.HtmlHTMLImageElement
The HTMLImageElement to draw into the context.
dx
Type: SystemDouble
The X coordinate in the destination canvas at which to place the top-left corner of the source image.
dy
Type: SystemDouble
The Y coordinate in the destination canvas at which to place the top-left corner of the source image.
See Also