## DocDevice.DrawImage method

Draws the specified image.

```csharp
public override void DrawImage(byte[] data, WebImageFormat imageFormat, RectangleF rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| data | Byte[] | An array of bytes representing the image. |
| imageFormat | WebImageFormat | Image format. |
| rect | RectangleF | A rectangel which determines position and size to draw. |

### See Also

* enum [WebImageFormat](../../../aspose.html.drawing/webimageformat/)
* class [DocDevice](../)
* namespace [Aspose.Html.Rendering.Doc](../../../aspose.html.rendering.doc/)
* assembly [Aspose.HTML](../../../)
