Method HasParagraphAttributes
HasParagraphAttributes(long, long, ITextBoxRichAttr)
Test if this whole range has paragraph attributes of the specified kind.
public virtual bool HasParagraphAttributes(long startRange, long endRange, ITextBoxRichAttr style)
Parameters
startRange
longendRange
longstyle
ITextBoxRichAttr
Returns
Remarks
If any of the attributes are different within the range, the test fails.
You can use this to implement, for example, centering button updating.
style
must have flags indicating which attributes are of interest.