iTextRow::SetCellColorFore 方法 (tom.h)

设置活动单元格的前景色。

语法

HRESULT SetCellColorFore(
  [in] long Value
);

参数

[in] Value

类型: long

前景色。

返回值

类型: HRESULT

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

注解

请参阅 ITextRow::GetCellShading ,了解如何将前景色与背景色一起使用。

要求

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

另请参阅

ITextRow

ITextRow::GetCellColorFore