ITextRange2::SetInlineObject method (tom.h)

Sets or inserts the properties of an inline object for a degenerate range.

Syntax

HRESULT SetInlineObject(
  [in] long Type,
  [in] long Align,
  [in] long Char,
  [in] long Char1,
  [in] long Char2,
  [in] long Count,
  [in] long TeXStyle,
  [in] long cCol
);

Parameters

[in] Type

Type: long

The object type as defined in ITextRange2::GetInlineObject.

[in] Align

Type: long

The object alignment as defined in ITextRange2::GetInlineObject.

[in] Char

Type: long

The object character as defined in ITextRange2::GetInlineObject.

[in] Char1

Type: long

The closing bracket (tomBrackets) character. See Unicode Technical Note 28 for a list of characters.

[in] Char2

Type: long

The separator character for tomBracketsWithSeps, which can be one of the following values.

[in] Count

Type: long

The number of arguments in the inline object.

[in] TeXStyle

Type: long

The TeX style, as defined in ITextRange2::GetInlineObject.

[in] cCol

Type: long

The number of columns in the inline object. For tomMatrix only.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

ITextRange2

ITextRange2::GetInlineObject