Function TWPObjectEnv.FindSibling(Par:TParagraph; posinpar:Integer) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPObjectEnv

Parameters

Returns

The type of the result value is Boolean.

Description

Finds the opening/closing part of the object at par, PosInPar. If no object was found value is FALSE and par(PosInPar is undefined. In contrast to 'Obj.EndTag' and 'Obj.StartTag' this function strictly compares the 'TAG' to get a match