Back to Devexpress

PictureFormat.PictureUri Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-pictureformat-95dca4ef.md

latest1.9 KB
Original Source

PictureFormat.PictureUri Property

Gets or sets the picture’s URI.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
string PictureUri { get; set; }
vb
Property PictureUri As String

Property Value

TypeDescription
String

A URI used to load the picture. An empty string, if the picture has no URI.

|

Remarks

To add a picture to the document, use the DocumentImageSource.FromUri method to load a picture from a URI and pass it to the ShapeCollection.InsertPicture method. The PictureUri property allows you to obtain or modify the picture URI.

Use a custom exporter to save the PictureUri property value to a file. Built-in exporters to common file formats discard this information when a document is saved.

See Also

PictureFormat Interface

PictureFormat Members

DevExpress.XtraRichEdit.API.Native Namespace