TXTextControl.InlineStyle.IsInheritedFromParagraph Method

Informs about whether one or more of the style's attributes are inherited from the surrounding paragraph. Text formatted through an inline style has all the attributes defined through the surrounding paragraph except the attributes explicitly defined through the inline style.


public bool IsInheritedFromParagraph(InlineStyle.Attributes attributes);
[Visual Basic]
Public Function IsInheritedFromParagraph(ByVal attributes As InlineStyle.Attributes) As Boolean
Parameter Description

Specifies one or more attributes. It can be a bitwise combination of values from the Attributes enumeration contained in this class.

Return Value

The return value is true, if the specified attributes are inherited from the paragraph. Otherwise it is false.

See Also