Function TWPRTFDataBlock.ApplySPANStyles(and_remove:Boolean; ignore_charattr:Boolean) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataBlock

Parameters

  • and_remove:Boolean
  • ignore_charattr:Boolean

Returns

The type of the result value is Boolean.

Description

This method checks the text for SPAN style objects and assigns the attributes to the embedded Text. It can optionally remove the SPAN style objects. The text must be reformatted in case the result = true.