ITextPara::IsEqual method

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

Syntax


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

Parameters

pPara

Type: ITextPara*

The ITextPara range that is compared to the current range.

pB

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextPara
Conceptual
Text Object Model

 

 

Show: