Function TWPTextObj.Unlink : TWPTextObj

Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextObj

Returns

The type of the result value is TWPTextObj.

Description

Remove the object from the paragraph - it can be then attached a different paragraph. The object is NOT deleted by 'unlink'! To delete an object use 'Free'.
The placeholder character in the paragraph is not deleted when the object is unlinked. It is changed to a space and marked with the flag cafsDelete. You can delete those characters later using the procedure or .

(The RTF engine may unlink an object by setting the property FParentPar to nil when it makes sure that the reference in TParagraph.FTextObjectRefs is also cleared.)