CRichEditCtx.SetFontmethod
Sets the font used by a rich edit control.
Syntax
FUNCTION SetFont (BYREF wszFaceName AS WSTRING, BYVAL ptsize AS LONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
wszFaceName | The font name. | |
ptsize | The font size in points. |
Return value
If the operation succeeds, the return value is a nonzero value. If the operation fails, the return value is zero.
Description
Sets the font used by a rich edit control.
Reference
- Defined in AfxNova/CRichEditCtx.inc:3278
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class