SubDocument.InsertPicture(DocumentPosition, Image) Method
OBSOLETE
This method has become obsolete. Use the 'InsertPicture' method instead.
Inserts a picture as a floating object.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v19.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
pos | DocumentPosition | A DocumentPosition that is a position in a paragraph to which a floating object will be anchored. |
image | Image | A Image object specifying the image to insert. |
Returns
Type | Description |
---|---|
Shape | A Shape interface exposing properties and methods of a newly created floating object containing a specified picture. |
Remarks
The InsertPicture method inserts a floating picture anchored at the beginning of the first paragraph that contains the specified position.
See Also