Function TParagraph.ComparePar(SecondPar:TParagraph; CompareAsNumber:Boolean; CompareIgnoreCase:Boolean; CompareIgnoreSpace:Boolean) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • SecondPar:TParagraph
  • CompareAsNumber:Boolean
  • CompareIgnoreCase:Boolean
  • CompareIgnoreSpace:Boolean

Returns

The type of the result value is Integer.

Description

This function compares the text of 2 paragraphs. Children paragraphs are not compared. Optional a case insensitive comparision is possible and/or all spaces could be skipped.

Overloaded Methods

Function TParagraph.ComparePar(SecondPar:TParagraph; Method:Integer) : Integer