Skip to main content

IdxRichEditDocumentImage.SetUri(string) Method

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

Declaration

procedure SetUri(const Value: string);

Parameters

Name Type
Value string

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