CTextDocument2.SetDocumentFontmethod
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 SetDocumentFont (BYVAL pFont AS ITextFont2 PTR) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
pFont | The font object that provides the default character formatting. |
Description
Sets the default character 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