SVGBuilderExtensions.OnError
SVGBuilderExtensions.OnError<TBuilder> method
Sets the ‘onerror’ event attribute for handling error events on the element.
public static TBuilder OnError<TBuilder>(this TBuilder builder, string value)
where TBuilder : ISVGElementBuilder, ICommonEventAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
value | The JavaScript function or script to execute when an error occurs. |
Return Value
The builder instance for chaining.
See Also
- interface ISVGElementBuilder
- interface ICommonEventAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG