Back to Devexpress

IdxRichEditDocumentImage.SetUri(string) Method

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocumentimage-dot-seturi-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

IdxRichEditDocumentImage.SetUri(string) Method

Sets the URI (universal resource identifier) for the inline image’s source bitmap.

Declaration

delphi
procedure SetUri(const Value: string);

Parameters

NameType
Valuestring

Remarks

Call this procedure and pass an external image’s URI as the Value parameter to change the inline image’s source bitmap. The control calls this procedure internally when you update an image’s URI in the INCLUDEPICTURE document field:

{ INCLUDEPICTURE "C:\TMP\Mypicture.png" \d}

Note

A SetUri procedure call updates the stored images only in an Office Image container for external images (a TdxUriOfficeImage object rather than TdxOfficeImage) accessible via the Image property.

The SetUri procedure is the Uri property’s setter.

See Also

IdxRichEditDocumentImage.GetUri

IdxRichEditDocumentImage Interface

IdxRichEditDocumentImage Members

dxRichEdit.NativeApi Unit