Skip to main content

IdxRichEditDocumentImage.GetUri Method

Returns a URI (universal resource identifier) of the external bitmap that the inline image loads into its Office Image container.

Declaration

function GetUri: string;

Returns

Type
string

Remarks

The control creates an inline image with an external source to display the INCLUDEPICTURE document field value. The image’s URI follows the field’s identifier:

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

The GetUri function returns a source image’s URI only if the inline image uses an Office Image container for external images (that is, if a TdxUriOfficeImage object is accessible instead of TdxOfficeImage via the Image property); otherwise – returns an empty string.

The GetUri function is the Uri property’s getter.

See Also