Class
ImageExportingEventArgs

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:

cs-api-definition
public class ImageExportingEventArgs : EventArgs

Inheritance: objectEventArgsImageExportingEventArgs

Inherited Members EventArgs.Empty

Properties

AlternativeText

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

Declaration

cs-api-definition
public string AlternativeText { get; set; }

Property Value

string

The alternative text.

ExportSize

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

Declaration

cs-api-definition
public bool ExportSize { get; set; }

Property Value

bool

The value indicating whether the image size should be exported.

Handled

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

Declaration

cs-api-definition
public bool Handled { get; set; }

Property Value

bool

True if the event is handled. False otherwise.

Image

Gets the document image being exported.

Declaration

cs-api-definition
public Image Image { get; }

Property Value

Image

The image.

Source

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

Declaration

cs-api-definition
public string Source { get; set; }

Property Value

string

The source.

Title

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

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

The title.