Class ResourceHtmlRenderingEventArgs

ResourceHtmlRenderingEventArgs class

Provides data for the ResourceHtmlRendering event: what to render for an attachment in the HTML.

public class ResourceHtmlRenderingEventArgs : EventArgs

Constructors

NameDescription
ResourceHtmlRenderingEventArgs()The default constructor.

Properties

NameDescription
Caption { get; set; }Gets or sets the caption shown for the resource.
Exception { get; set; }Gets or sets the exception that occurred while rendering the resource.
PathToResourceFile { get; set; }Gets or sets the path of the file to use for the resource, with ResourceRenderingMode.SaveToFile or ResourceRenderingMode.SubstituteFromFile.
ResourceStream { get; set; }Gets or sets the content to embed for the resource, with ResourceRenderingMode.EmbedIntoHtml; it has no effect in the other modes.

See Also