Skip to main content

SubDocument.InsertImage(DocumentPosition, DocumentImageSource) Method

Obsolete. Inserts an image into the specified position in the document.

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.DocumentImageCollection.Insert(DocumentPosition pos, DocumentImageSource imageSource)' method instead.")]
DocumentImage InsertImage(
    DocumentPosition pos,
    DocumentImageSource imageSource
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.DocumentImageCollection.Insert(DocumentPosition pos, DocumentImageSource imageSource)' method instead.")>
Function InsertImage(
    pos As DocumentPosition,
    imageSource As DocumentImageSource
) As DocumentImage

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition object representing the position to insert an image.

imageSource DocumentImageSource

A DocumentImageSource object containing information about the image to insert.

Returns

Type Description
DocumentImage

A DocumentImage object representing an inline image in the document.

See Also