Skip to main content

IUriStreamProvider Interface

In This Article

Defines the data stream provider for the IUriStreamService.

Namespace: DevExpress.Office.Services

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

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

Registered providers are called by the IUriStreamService when a INCLUDEPICTURE field is updated.

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