Click or drag to resize

SvgAttributeCollectionGetInheritedAttributeTAttributeType Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the attribute with the specified name and inherits from ancestors if there is no attribute set.

Namespace:  Svg
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public TAttributeType GetInheritedAttribute<TAttributeType>(
	string attributeName
)
Request Example View Source

Parameters

attributeName
Type: SystemString
A String containing the name of the attribute.

Type Parameters

TAttributeType
The type of the attribute value.

Return Value

Type: TAttributeType
The attribute value if available; otherwise the ancestors value for the same attribute; otherwise the default value of TAttributeType.
See Also