The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

IUriStreamProvider Interface

Defines the data stream provider for the IUriStreamService.

Namespace: DevExpress.Office.Services

Assembly: DevExpress.Office.v19.1.Core.dll

Declaration

[ComVisible(true)]
public interface IUriStreamProvider
<ComVisible(True)>
Public Interface IUriStreamProvider
[ComVisible(true)]
public interface IUriStreamProvider
<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