Skip to main content
ITextRow::GetCellColorFore method

Gets the foreground color of the active cell.

Syntax


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

Parameters

pValue [out, retval]

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 codeDescription
E_INVALIDARG

Invalid argument.

 

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

ITextRow
ITextRow::SetCellColorFore