iTextRange2::SetInlineObject 方法 (tom.h)

设置或插入退化区域的内联对象的属性。

语法

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
);

参数

[in] Type

类型: long

ITextRange2::GetInlineObject 中定义的对象类型。

[in] Align

类型: long

ITextRange2::GetInlineObject 中定义的对象对齐方式。

[in] Char

类型: long

ITextRange2::GetInlineObject 中定义的对象字符。

[in] Char1

类型: long

右方括号 (tomBrackets) 字符。 有关字符列表,请参阅 Unicode 技术说明 28

[in] Char2

类型: long

tomBracketsWithSeps 的分隔符,可以是以下值之一。

[in] Count

类型: long

内联对象中的参数数。

[in] TeXStyle

类型: long

TeX 样式,如 ITextRange2::GetInlineObject 中定义。

[in] cCol

类型: long

内联对象中的列数。 仅适用于 tomMatrix

返回值

类型: HRESULT

如果该方法成功,则返回 NOERROR。 否则,将返回 HRESULT 错误代码。

要求

要求
最低受支持的客户端 Windows 8 [仅限桌面应用]
最低受支持的服务器 Windows Server 2012 [仅限桌面应用]
目标平台 Windows
标头 tom.h
DLL Msftedit.dll

另请参阅

ITextRange2

ITextRange2::GetInlineObject