CTextRange2.SetPropertymethod
Sets the value of the specified property.
Syntax
FUNCTION SetProperty (BYVAL nType AS LONG, BYVAL Value AS LONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
nType | The ID of the property to set. | |
Value | The 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