RichEdit_InsertImagefunction
Replaces the selection with a blob that displays an image.
Syntax
FUNCTION RichEdit_InsertImage (BYVAL hRichEdit AS HWND, BYVAL lpip AS RICHEDIT_IMAGE_PARAMETERS PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
lpip | A pointer to a RICHEDIT_IMAGE_PARAMETERS structure that contains the image blob. |
Return value
Returns S_OK if successful, or one of the following error codes.
Description
Replaces the selection with a blob that displays an image.
Reference
- Defined in AfxNova/AfxRichEdit.inc:613
- Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
- Topic: RichEdit Procedures