Help Center

CTextRange2.SetPropertymethod

Sets the value of the specified property.

Windowsmethoddocumented

Syntax

FUNCTION SetProperty (BYVAL nType AS LONG, BYVAL Value AS LONG) AS HRESULT

Parameters

NameDescription
nTypeThe ID of the property to set.
ValueThe new property value.

Return value

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

Description

Sets the value of the specified property.

Reference

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