Help Center

CTextPara2.SetSnapToGridmethod

Sets whether paragraph lines snap to a vertical grid that could be defined for the whole document.

Windowsmethoddocumented

Syntax

FUNCTION SetSnapToGrid (BYVAL Value AS LONG) AS HRESULT

Parameters

NameDescription
ValueA tomBool value that can be one of the following.

Return value

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Description

Sets whether paragraph lines snap to a vertical grid that could be defined for the whole document.

Reference

  • Defined in AfxNova/CTextPara2.inc:638
  • Documented in Windows/WIndows Controls/RichEdit/CTextPara2 Class.md
  • Topic: CTextPara2 Class