Function TWPTextStyle.AGetInherited(WPAT_Code:Byte; Value:Integer) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextStyle

Parameters

  • WPAT_Code:Byte
  • Value:Integer

Returns

The type of the result value is Boolean.

Description

This function reads the attributes defined in this style or paragraph by following the inheritence order - definition which was made last is used. If used with TWPTextStyles is checks the referenced styles, if used with TParagraph objects it also checks the parent paragraphs (such as tables or table rows)