ITextRow::SetCellIndex method

Sets the index of the active cell.

Syntax


HRESULT SetCellIndex(
  [in]  long Value
);

Parameters

Value [in]

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]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextRow
ITextRow::GetCellIndex
ITextRow::GetCellCount
ITextRow::SetCellCount

 

 

Community Additions

ADD
Show:
© 2014 Microsoft