Skip to main content
A newer version of this page is available.
All docs
V19.1
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

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.1.Core.dll

Declaration

[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ShapeCollection.InsertPicture(DocumentPosition pos, System.Drawing.Image image)' method instead.")]
Shape InsertPicture(
    DocumentPosition pos,
    Image image
)

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