Function TWPRTFDataBlock.FindParByNameEx(Name:string; AndTypeIn:TWPParagraphTypes; StartWith:TParagraph; use_wpat_parname:Boolean; need_props:TParProp) : 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 and a given type (within the given set). It compares using CompareText - case insensitive. You can optionally pass the paragraph to start with the search. If prop flags are set in need_props, at least one must be present in the paragraph.