Interface IAttributeSetter
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Basic interface for setting attributes on SVG elements. This interface is a fundamental part of the SVG element builder system, allowing for the dynamic assignment of attributes to SVG elements.
[ComVisible(true)]
public interface IAttributeSetter
Extension Methods
SVGBuilderExtensions.SetAttribute<iattributesetter>(IAttributeSetter, string, string)
Methods
Attribute(string, string)
Sets or updates an attribute on an SVG element.
void Attribute(string name, string value)
Parameters
name
string
The name of the attribute to set. This should be a valid SVG attribute name.
value
string
The value to assign to the attribute. The value should be a string representation suitable for the specific SVG attribute.
Remarks
This method is used to dynamically add or modify attributes of SVG elements during the construction process. It provides flexibility in defining and customizing SVG elements by allowing attributes to be set based on various conditions or inputs. </iattributesetter>