ITextRange::GetPara method (tom.h)

Gets an ITextPara object with the paragraph attributes of the specified range.

Syntax

HRESULT GetPara(
  ITextPara **ppPara
);

Parameters

ppPara

Type: ITextPara**

The pointer to the ITextPara object.

Return value

Type: HRESULT

The method returns an HRESULT value. If the method succeeds, it returns S_OK. If ppPara is null, the method fails and it returns E_INVALIDARG.

Remarks

For plain-text controls, these objects do not vary from range to range, but in rich-text solutions, they do. See the section on ITextPara for further details.

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

ITextRange

Reference

Text Object Model