Function TWPRTFDataBlock.FindParWithText(findtext:string; StartWith:TParagraph) : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataBlock

Parameters

Returns

The type of the result value is TParagraph.

Description

This function locates the paragraph with a certain name. It compares using "Pos(findtext, StartWith.GetANSIText)>0". You can optionally pass the paragraph to start with the search