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


string CreateImageUri(
    string rootUri,
    OfficeImage image,
    string relativeUri


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).


Type Description

A string that is the image URI.


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