ITextRange::GetPara method

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

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
ITextRange
Conceptual
Text Object Model

 

 

Show: