New to Telerik Document ProcessingStart a free 30-day trial

Raised when the HTML importer encounters an image URI, allowing custom retrieval of image data and extension.

Definition

Namespace:Telerik.Windows.Documents.Flow.FormatProviders.Html

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class LoadImageFromUriEventArgs : EventArgs

Inheritance: objectEventArgsLoadImageFromUriEventArgs

Inherited Members EventArgs.Empty

Properties

Gets the image URI encountered during HTML import.

C#
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string Uri { get; }
Property Value:

The URI.

Methods

Provides the image binary data and file extension to the importer for this URI.

C#
public void SetImageInfo(byte[] data, string extension)
Parameters:databyte[]extensionstring