Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Shape.PictureUri Property

Gets or sets the URI of a picture represented by a floating object.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

string PictureUri { get; set; }

Property Value

Type Description
String

A string that is the URI of the picture. A floating picture can have no URI or the shape can actually be a text box. In this case, an empty string is returned.

Remarks

The PictureUri contains the original image URI if a floating picture is inserted via the InsertFloatingObjectPictureCommand or via the ShapeCollection.InsertPicture method that takes the DocumentImageSource object as an argument, and the DocumentImageSource is created by using the DocumentImageSource.FromUri method.

The PictureUri property value can be saved in a file if a custom exporter is used. Built-in exporters to common file formats discard this information so a saved file does not contain it.

See Also