Function TWPCustomRtfEdit.InputNewObject(objtype:TWPTextObjType; HasClosing:Boolean; IsClosing:Boolean; CharAttrIndex:Cardinal) : TWPTextObj

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • objtype:TWPTextObjType
  • HasClosing:Boolean
  • IsClosing:Boolean
  • CharAttrIndex:Cardinal

Returns

The type of the result value is TWPTextObj.

Description

Low level function to insert a new TWPTextObj instance. This function works similar to and but always inserts the object at the cursor position. The cursor is then moved after the new object. This function requires a call to .