Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IUriProviderService.CreateImageUri(String, OfficeImage, String) Method

Provides the URI string for the specified image.

Namespace: DevExpress.Office.Services

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

NuGet Package: DevExpress.Office.Core

#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