CTextDocument2.SetDocumentParamethod
Sets the default paragraph formatting for this instance of the Text Object Model (TOM) engine.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION SetDocumentPara (BYVAL pPara AS ITextPara2 PTR) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
pPara | The paragraph object that provides the default paragraph formatting. |
Return value
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Description
Sets the default paragraph formatting for this instance of the Text Object Model (TOM) engine.
Remarks
You can also set the default character formatting by calling the Reset method of the ITextFont interface with a value of tomDefault.
Reference
- Documented in Windows/WIndows Controls/RichEdit/CTextDocument2 Class.md
- Topic: CTextDocument2 Class