Saves the specified Value to the XML node as an attribute. The Style parameter controls the name of the attribute.
If the inherits parameter is true or the Value equals DefaultValue, and the compact parameter is true, then attribute will not be written out
Namespace: RSSVGUtils
Delphi |
function SaveStyleProperty( const Node: IXMLNode; const Style: TSVGStyleProperty; |
Parameters
Node
Type: IXMLNode
Style
Type: TSVGStyleProperty
Value
Type: String
DefaultValue
Type: String
AsStyle
Type: Boolean
Inherits
Type: Boolean
Compact
Type: Boolean
Type: Boolean