.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

IUriProviderService.CreateImageUri(String, OfficeImage, String) Method

Provides the URI string for the specified image.

Namespace: DevExpress.Office.Services

Assembly: DevExpress.Office.v21.1.Core.dll

Declaration

string CreateImageUri(
    string rootUri,
    OfficeImage image,
    string relativeUri
)

Parameters

Name Type Description
rootUri String

A string that specifies the root URI.

image OfficeImage

An OfficeImage object for which the URI is created.

relativeUri String

A string that specifies the relative part of the URI (path relative to the root).

Returns

Type Description
String

A string that is the image URI.

Remarks

The CreateImageUri method polls all registered URI providers by calling their IUriProvider.CreateImageUri methods and returns the first result which is not null.

See Also