ITextRow::GetCellColorFore method (tom.h)

Gets the foreground color of the active cell.

Syntax

HRESULT GetCellColorFore(
  [out, retval] long *pValue
);

Parameters

[out, retval] pValue

Type: long*

The foreground color.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns the following COM error code. For more information about COM error codes, see Error Handling in COM.

Return code Description
E_INVALIDARG
Invalid argument.

Requirements

Requirement Value
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

ITextRow

ITextRow::SetCellColorFore