SVGBuilderExtensions.OnCopy
SVGBuilderExtensions.OnCopy<TBuilder> method
Sets the ‘oncopy’ event attribute, defining a script to run when content is copied from the SVG element.
public static TBuilder OnCopy<TBuilder>(this TBuilder builder, string value)
where TBuilder : ISVGElementBuilder, IDocumentElementEventAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
value | The JavaScript function or script to execute on the copy event. |
Return Value
The builder instance for chaining.
See Also
- interface ISVGElementBuilder
- interface IDocumentElementEventAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG