Function TWPTextObj.GetEndTag(HostPar:TParagraph; Index:Integer) : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextObj

Parameters

Returns

The type of the result value is TParagraph.

Description

Search starting with the given paragraph for the object with the same ID. In contrast to TextObjects.FindSibling it does not check if this or the other object uses the wpobjIsOpening and wpobjIsClosing flags IF it actually uses a tag value! In case it has no tag value this works like FindSibling. This function is used with START Tags only!