SubDocument.InsertPicture(DocumentPosition, DocumentImageSource) Method
Obsolete. Inserts a picture as a floating object.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v14.2.Core.dll
Declaration
[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ShapeCollection.InsertPicture(DocumentPosition pos, DocumentImageSource imageSource)' method instead.")]
Shape InsertPicture(
DocumentPosition pos,
DocumentImageSource imageSource
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ShapeCollection.InsertPicture(DocumentPosition pos, DocumentImageSource imageSource)' method instead.")>
Function InsertPicture(
pos As DocumentPosition,
imageSource As DocumentImageSource
) As Shape
Parameters
Name | Type | Description |
---|---|---|
pos | DocumentPosition | A DocumentPosition that is a position in a paragraph to which a floating object will be anchored. |
imageSource | DocumentImageSource | A DocumentImageSource 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