Skip to main content

IUriProviderService.CreateImageUri(String, OfficeImage, String) Method

Provides the URI string for the specified image.

Namespace: DevExpress.Office.Services

Assembly: DevExpress.Office.v23.2.Core.dll

NuGet Packages: DevExpress.Office.Core, DevExpress.Win.Navigation

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