Function TParagraph.InsertNewObject(Index:Integer; ObjType:TWPTextObjType; HasClosing:Boolean; IsClosing:Boolean; CharAttrIndex:Cardinal) : TWPTextObj

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • Index:Integer
  • ObjType:TWPTextObjType
  • HasClosing:Boolean
  • IsClosing:Boolean
  • CharAttrIndex:Cardinal

Returns

The type of the result value is TWPTextObj.

Description

This function inserts a new TWPTextObj at the given position. You need to modify the properties later. Please also .