ITextPara2::IsEqual2 method (tom.h)

Determines whether this text paragraph object has the same properties as the specified text paragraph object.

Syntax

HRESULT IsEqual2(
  [in]          ITextPara2 *pPara,
  [out, retval] long       *pB
);

Parameters

[in] pPara

Type: ITextPara2*

The text paragraph object to compare against.

[out, retval] pB

Type: long*

A tomBool value that is tomTrue if the text paragraph objects have the same properties, or tomFalse if they don't. This parameter can be NULL.

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Requirements

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

See also

ITextPara2