WPTools Manual



Search


(press enter to search)

Function TWPRTFNumberStyleCollection.AddNumberStyle(Style:TWPNumberStyle; TextB:string; TextA:string; Font:string; Indent:Integer; FontSize:Integer; UsePrev:Boolean; Group:Integer; LevelInGroup:Integer) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFNumberStyleCollection

Parameters

  • Style:TWPNumberStyle
  • TextB:string
  • TextA:string
  • Font:string
  • Indent:Integer
  • FontSize:Integer
  • UsePrev:Boolean
  • Group:Integer
  • LevelInGroup:Integer

Returns

The type of the result value is Integer.

Description

Adds a style to the list and returns the ID of it. The ID can be used in ASet(WPAT_NumberStyle). It first tries to find a style which matches the definition and does not add a definition is this case