Class
LoadImageFromUriEventArgs

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:

cs-api-definition
public class LoadImageFromUriEventArgs : EventArgs

Inheritance: objectEventArgsLoadImageFromUriEventArgs

Inherited Members EventArgs.Empty

Properties

Uri

Gets the image URI encountered during HTML import.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string Uri { get; }

Property Value

string

The URI.

Methods

SetImageInfo(byte[], string)

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

Declaration

cs-api-definition
public void SetImageInfo(byte[] data, string extension)

Parameters

data

byte[]

extension

string