Text.attributeForName

Get the AtkTextAttribute type corresponding to a text attribute name.

class Text
static
attributeForName
(
string name
)

Parameters

name string

a string which is the (non-localized) name of an ATK text attribute.

Return Value

the AtkTextAttribute enumerated type corresponding to the specified name, or ATK_TEXT_ATTRIBUTE_INVALID if no matching text attribute is found.

Meta