ITextRange2::SetInlineObject method

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

Syntax

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

Parameters

Type

Type: long

The object type as defined in ITextRange2::GetInlineObject.

Align

Type: long

The object alignment as defined in ITextRange2::GetInlineObject.

Char

Type: long

The object character as defined in ITextRange2::GetInlineObject.

Char1

Type: long

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

Char2

Type: long

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

Count

Type: long

The number of arguments in the inline object.

TeXStyle

Type: long

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

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

   
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