CRichEditCtx.SetZoommethod
Sets the zoom ratio anywhere between 1/64 and 64.
Syntax
FUNCTION SetZoom (BYVAL zNum AS DWORD, BYVAL zDen AS DWORD) AS LONG
Parameters
| Name | Description | |
|---|---|---|
zNum | Numerator of the zoom ratio. | |
zDen | Denominator of the zoom ratio. These parameters can have the following values. |
Return value
If the new zoom setting is accepted, the return value is TRUE. If the new zoom setting is not accepted, the return value is FALSE.
Description
Sets the zoom ratio for a multiline edit control or a rich edit control. The ratio must be a value between 1/64 and 64. The edit control needs to have the ES_EX_ZOOMABLE extended style set, for this message to have an effect, see Edit Control Extended Styles.
Reference
- Defined in AfxNova/CRichEditCtx.inc:2346
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class