ITextRow::SetCellBorderColors method (tom.h)

Sets the border colors of the active cell.

Syntax

HRESULT SetCellBorderColors(
  [in] long crLeft,
  [in] long crTop,
  [in] long crRight,
  [in] long crBottom
);

Parameters

[in] crLeft

Type: long

The left border color.

[in] crTop

Type: long

The top border color.

[in] crRight

Type: long

The right border color.

[in] crBottom

Type: long

The bottom border color.

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

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::GetCellBorderColors