Function TWPRTFStyleCollection.AddStyle(StyleName:string; UsedByMask:Cardinal) : TWPTextStyle

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFStyleCollection

Parameters

  • StyleName:string
  • UsedByMask:Cardinal

Returns

The type of the result value is TWPTextStyle.

Description

This function adds a style with a certain name. If it already ecists, the exisiting instance will be retured