API Reference
IWorkTableData
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.
Returned or exposed by 5
- Method IWorkTableData.ClearCell
- Method IWorkTableData.Create
- Method IWorkTableData.SetBoolean
- Method IWorkTableData.SetNumber
- Method IWorkTableData.SetText
Accepted by parameters 3
Methods
public IWorkTableData ClearCell(Int32 row, Int32 column) #IWorkTableDataReturns a position to an unset empty cell.
Parameters
- row System.Int32
- column System.Int32
public static IWorkTableData Create(Int32 rows, Int32 columns) #IWorkTableDataCreates an empty table with fixed row and column counts.
Parameters
- rows System.Int32
- columns System.Int32
public IWorkTableCell GetCell(Int32 row, Int32 column) #IWorkTableCellGets the scalar at a position, or an empty cell when it has not been set.
Parameters
- row System.Int32
- column System.Int32
public IWorkTableData SetBoolean(Int32 row, Int32 column, Boolean value) #IWorkTableDataSets a boolean value, retaining its type rather than a text label.
Parameters
- row System.Int32
- column System.Int32
- value System.Boolean
public IWorkTableData SetNumber(Int32 row, Int32 column, Double value) #IWorkTableDataSets a finite IEEE-754 double as a numeric value.
Parameters
- row System.Int32
- column System.Int32
- value System.Double
public IWorkTableData SetNumber(Int32 row, Int32 column, Double value, IWorkNumberFormat numberFormat) #IWorkTableDataSets a finite number with an immutable explicit decimal, percentage or scientific format.
Parameters
- row System.Int32
- column System.Int32
- value System.Double
- numberFormat OfficeIMO.IWork.IWorkNumberFormat
public IWorkTableData SetText(Int32 row, Int32 column, String text) #IWorkTableDataSets text, normalizing CR/CRLF to LF and rejecting other controls and invalid UTF-16.
Parameters
- row System.Int32
- column System.Int32
- text System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?