ITextRange2::SetInlineObject method

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

Syntax


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

Parameters

Type [in]

Type: long

The object type as defined in ITextRange2::GetInlineObject.

Align [in]

Type: long

The object alignment as defined in ITextRange2::GetInlineObject.

Char [in]

Type: long

The object character as defined in ITextRange2::GetInlineObject.

Char1 [in]

Type: long

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

Char2 [in]

Type: long

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

U+007C: vertical bar with no extra spacing
U+2223: vertical bar with extra spacing
Count [in]

Type: long

The number of arguments in the inline object.

TeXStyle [in]

Type: long

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

cCol [in]

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]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextRange2
ITextRange2::GetInlineObject

 

 

Show: