Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the paragraph attributes of this range to those of the specified ITextPara object.
Syntax
HRESULT SetPara(
[in] ITextPara *pPara
);
Parameters
[in] pPara
Type: ITextPara*
The paragraph object with the desired paragraph format.
Return value
Type: HRESULT
The method returns an HRESULT value. If the method succeeds, it returns S_OK. If the method fails, it returns one of the following error codes. For more information about COM error codes, see Error Handling in COM.
Return code | Description |
---|---|
|
Text is write-protected. |
|
pPara is null. |
|
Out of memory. |
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
Reference