New to Telerik Document ProcessingStart a free 30-day trial

Raised for each image during HTML export, allowing customization of image sources, attributes, and export behavior.

Definition

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

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class ImageExportingEventArgs : EventArgs

Inheritance: objectEventArgsImageExportingEventArgs

Inherited Members EventArgs.Empty

Properties

Gets or sets the text written to the 'alt' attribute of the img element for accessibility.

C#
public string AlternativeText { get; set; }
Property Value:

The alternative text.

Gets or sets whether 'width' and 'height' attributes are written to the img element (default is true).

C#
public bool ExportSize { get; set; }
Property Value:

The value indicating whether the image size should be exported.

Gets or sets whether the event is handled by custom logic, preventing default image export behavior.

C#
public bool Handled { get; set; }
Property Value:

True if the event is handled. False otherwise.

Gets the document image being exported.

C#
public Image Image { get; }
Property Value:

The image.

Gets or sets the URI written to the 'src' attribute of the img element.

C#
public string Source { get; set; }
Property Value:

The source.

Gets or sets the text written to the 'title' attribute of the img element.

C#
public string Title { get; set; }
Property Value:

The title.