for_name


Description:

public static TextAttribute for_name (string name)

Get the TextAttribute type corresponding to a text attribute name.

Parameters:

name

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

Returns:

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