Skip to main content
ITextRow::SetCellBorderColors method

Sets the border colors of the active cell.

Syntax


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

Parameters

crLeft [in]

Type: long

The left border color.

crTop [in]

Type: long

The top border color.

crRight [in]

Type: long

The right border color.

crBottom [in]

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

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