ITextRange2::SetInlineObject method

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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft