Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IUriStreamProvider Interface

Defines the data stream provider for the IUriStreamService.

Namespace: DevExpress.Office.Services

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

NuGet Package: DevExpress.Office.Core

Declaration

[ComVisible(true)]
public interface IUriStreamProvider

Remarks

The IUriStreamProvider interface defines a IUriStreamProvider.GetStream method, intended to retrieve the data from the URI specified in certain types of document fields.

This mechanism is used for loading images when HTML or MHT files are imported. WebUriStreamProvider is responsible for performing the web request and obtaining image data if an image is represented by a standard URI. DataStringUriStreamProvider is used for HTML files with embedded images that are base64-encoded. MhtUriStreamProvider loads images when RichEdit imports an MHT file.

You can implement your own custom provider and register it via the IUriStreamService.RegisterProvider method to make the provider implementing the IUriStreamProvider interface available to clients of the service.

See Also