CTextRange2.SetInlineObjectmethod
Sets the text of this range.
Syntax
FUNCTION SetInlineObject (BYVAL nType AS Long, BYVAL Align AS LONG, BYVAL Char AS LONG, BYVAL Char1 AS LONG, BYVAL Char2 AS LONG, BYVAL Count AS LONG, BYVAL TeXStyle AS LONG, BYVAL cCol AS LONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
nType | The object type as defined in GetInlineObject. | |
Align | The object alignment as defined in GetInlineObject. | |
Char | The object character as defined in GetInlineObject. | |
Char1 | The closing bracket (tomBrackets) character. See Unicode Technical Note 28 for a list of characters. | |
Char2 | The separator character for tomBracketsWithSeps, which can be one of the following values. | |
Count | The number of arguments in the inline object. | |
TeXStyle | The TeX style, as defined in GetInlineObject. | |
cCol | The number of columns in the inline object. For tomMatrix only. |
Return value
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Description
Sets or inserts the properties of an inline object for a degenerate range.
Reference
- Defined in AfxNova/CTextRange2.inc:1103
- Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
- Topic: CTextRange2 Class