ITextPara::IsEqual method (tom.h)

Determines if the current range has the same properties as a specified range.

Syntax

HRESULT IsEqual(
  ITextPara *pPara,
  long      *pValue
);

Parameters

pPara

Type: ITextPara*

The ITextPara range that is compared to the current range.

pValue

Type: long*

The comparison result. The value can be null.

Return value

Type: HRESULT

If the objects are equal, ITextPara::IsEqual succeeds and returns S_OK. If the objects are not equal, the method fails and returns S_FALSE. For more information about COM error codes, see Error Handling in COM.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

Conceptual

ITextPara

Reference

Text Object Model