ITextRow::SetCellCountCache method (tom.h)

Sets the count of cells cached for a row.

Syntax

HRESULT SetCellCountCache(
  [in] long Value
);

Parameters

[in] Value

Type: long

The cell count.

Return value

Type: HRESULT

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

Remarks

If all cells are identical, properties need to be cached only for the cell with index 0. If the cached count is less than the cell count, the cell parameters for index CellCountCache – 1 are used for cells with larger indices.

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