SVGBuilderExtensions.SetAttribute
SVGBuilderExtensions.SetAttribute<TBuilder> method
Sets an attribute on the SVG element. This method is used to add or modify an attribute of the SVG element being built.
public static TBuilder SetAttribute<TBuilder>(this TBuilder builder, string name, string value)
where TBuilder : IAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder on which the attribute is set. |
name | The name of the attribute to set. |
value | The value of the attribute. |
Return Value
The original SVG element builder for method chaining.
See Also
- interface IAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG