MaxLevelCount

TextStyle.MaxLevelCount field

Maximum count of style levels that can be defined. Use it with GetLevel(int index)

public static readonly byte MaxLevelCount;

Examples

for (int i = 0; i < TextStyle.MaxLevelCount; i++)
{
    IParagraphFormat paragraphFormat = GetLevel(i);
    ...
}

See Also