TextStyle

TextStyle class

This class contains the text style formatting properties.

getDefaultParagraphFormat

NameDescription
getDefaultParagraphFormat ()Default paragraph propertiies. Read-only IParagraphFormat.

Returns: ParagraphFormat


getEffective

NameDescription
getEffective ()Gets effective text style formatting data with the inheritance applied.

Returns: TextStyleEffectiveData


getLevel

NameDescription
getLevel (int)If level of style exist returns it, otherwise returns null.

Parameters:

NameTypeDescription
indexintZero-based index of level. Must lay in 0..8 interval.

Returns: ParagraphFormat


getVersion

NameDescription
getVersion ()

Returns: long