Function TWPSetModeControl.SetParStyle(aName:string) : TWPRTFStyleElement

Unit: WPCTRRich
Class: WPCTRRich.TWPSetModeControl

Parameters

  • aName:string

Returns

The type of the result value is TWPRTFStyleElement.

Description

Quick method to add a paragraph style. Returns pointer to TWPTextStyle to make it easy to to change the properties. This does the same as TWPRichText.SetParStyle.