DocumentImageSource.FromImage(Image) Method
Creates an image source object from the specified image.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v22.1.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
image | Image | An Image object. |
Returns
Type | Description |
---|---|
DocumentImageSource | A DocumentImageSource object representing the image in the document. |
Remarks
The following code sample demonstrates how the FromImage method can be used to insert an image at the cursor position in the document.
See Also