Function TParagraph.AppendNewObjectPair(ObjType:TWPTextObjType; TextWithin:WideString; CharAttrIndex:Cardinal) : TWPTextObj

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

Returns

The type of the result value is TWPTextObj.

Description

This function combines and to create paired objects, for example mail merge fields, bookmarks or hyperlinks. The reference of the first object which was created will be returned.