Skip to main content
Box

PageCanvas.DrawImage(Image, Rectangle, ImageSizeMode) Method

Draws a custom image.

Namespace: DevExpress.XtraRichEdit.API.Layout

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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