Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IWorkTableData

OfficeIMO.IWork

Namespace
OfficeIMO.IWork
Assembly
OfficeIMO.IWork
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Mutable sparse scalar data for a newly created iWork table.

Inheritance

  • object
  • IWorkTableData

Remarks

Coordinates are one-based. Each axis supports 1–256 positions. Unset positions are empty; text is stored as text even when it begins with an equals sign. Instances are not thread safe.

Usage

Explore 8 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 3

Methods

public IWorkTableData ClearCell(int row, int column) #

Returns a position to an unset empty cell.

Parameters

row int required
column int required
public static IWorkTableData Create(int rows, int columns) #

Creates an empty table with fixed row and column counts.

Parameters

rows int required
columns int required
public IWorkTableCell GetCell(int row, int column) #

Gets the scalar at a position, or an empty cell when it has not been set.

Parameters

row int required
column int required
public IWorkTableData SetBoolean(int row, int column, bool value) #

Sets a boolean value, retaining its type rather than a text label.

Parameters

row int required
column int required
value bool required
SetNumber 2 overloads
public IWorkTableData SetNumber(int row, int column, double value) #

Sets a finite IEEE-754 double as a numeric value.

Parameters

row int required
column int required
value double required
public IWorkTableData SetNumber(int row, int column, double value, IWorkNumberFormat numberFormat) #

Sets a finite number with an immutable explicit decimal, currency, percentage or scientific format.

Parameters

row int required
column int required
value double required
numberFormat OfficeIMO.IWork.IWorkNumberFormat required
public IWorkTableData SetText(int row, int column, string text) #

Sets text, normalizing CR/CRLF to LF and rejecting other controls and invalid UTF-16.

Parameters

row int required
column int required
text string required

Properties

public int RowCount { get; } #

Gets the number of rows, including unset empty positions.

public int ColumnCount { get; } #

Gets the number of columns, including unset empty positions.