CRichEditCtx.SetTextHeightmethod
Syntax
FUNCTION SetTextHeight (BYVAL ptSize AS LONG) AS BOOLEAN
Also documented as
TextHeight — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
ptSize | The new text height in points. |
Return value
(GET) The height of the selected text or the word under the cursor if there is not selection.
Description
Gets/sets the height of the selected text or the word under the cursor.
Remarks
To select text programatically, use the SetSel method.
Example
(GET) PROPERTY TextHeight () AS LONG (SET) PROPERTY TextHeight (BYVAL ptSize AS LONG)
Reference
- Defined in AfxNova/CRichEditCtx.inc:4080
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class