ITextHost::OnTxParaFormatChange method (textserv.h)
Sets the default paragraph format for the text host.
Syntax
HRESULT OnTxParaFormatChange(
[in] const PARAFORMAT *pPF
);
Parameters
[in] pPF
Type: const PARAFORMAT*
The new default paragraph format.
Return value
Type: HRESULT
Return S_OK if the method succeeds.
Return one of the following COM error codes if the method fails. For more information on COM error codes, see Error Handling in COM.
Return code | Description |
---|---|
|
One or more arguments are not valid. |
|
Unspecified error. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | textserv.h |
DLL | Msftedit.dll |
See also
Conceptual
Reference