Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Box

PageCanvas.DrawImage(Image, Rectangle, ImageSizeMode) Method

Draws a custom image.

Namespace: DevExpress.XtraRichEdit.API.Layout

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

public void DrawImage(
    Image image,
    Rectangle bounds,
    ImageSizeMode sizeMode
)

Parameters

Name Type Description
image Image

A Image object that is an image that will be placed at the selected position.

bounds Rectangle

Sets the image’s location and size.

sizeMode ImageSizeMode

Sets the object position within the stated bounds.

See Also