ITextRow::SetCellIndex method

Sets the index of the active cell.

Syntax

HRESULT SetCellIndex(
  long Value
);

Parameters

Value

Type: long

The cell index.

Return value

Type: HRESULT

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

Remarks

You can get or set parameters for an active cell.

If the cell index is greater than the cell count, and the cell index is less that 63 (the maximum cell count), then the cell count is increased to cell index + 1.

Requirements

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

ITextRow::GetCellIndex

ITextRow::SetCellCount