ITextHost::OnTxParaFormatChange method

Sets the default paragraph format for the text host.

Syntax


HRESULT OnTxParaFormatChange(
  [in]  const PARAFORMAT *pPF
);

Parameters

pPF [in]

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 codeDescription
E_INVALIDARG

One or more arguments are not valid.

E_FAIL

Unspecified error.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Textserv.h

DLL

Msftedit.dll

See also

ITextHost
Reference
PARAFORMAT
Conceptual
Windowless Rich Edit Controls

 

 

Community Additions

ADD
Show:
© 2014 Microsoft