IWorkTable
OfficeIMO.IWork
A sparse table shared by Pages, Numbers, and Keynote projections.
Inheritance
- object
- IWorkTable
Usage
Explore 6 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 6
- Property IWorkKeynoteDrawable.Table
- Property IWorkKeynoteSlide.Tables
- Property IWorkNumbersDrawable.Table
- Property IWorkNumbersSheet.Tables
- Property IWorkPagesDrawable.Table
- Property IWorkPagesProjection.Tables
Methods
public OfficeBorderBox GetBorders(int row, int column) #Gets effective borders in points at a one-based cell without materializing an empty grid. Zero-width sides explicitly clear borders. Null sides are absent or unsupported, with source diagnostics distinguishing rejected declarations. Native sparse edits resolve both neighboring cells to the same physical edge using their edit order.
Parameters
- row int
- column int
Returns
OfficeBorderBoxpublic IWorkTableCell? GetCell(int row, int column) #Returns a materialized cell at a one-based position, or null when no value, diagnostic, or supported cell formatting is retained.
Parameters
- row int
- column int
Returns
IWorkTableCell?public double? GetColumnWidth(int column) #Gets the explicit width or default width of a one-based column, when known.
Parameters
- column int
Returns
double?public IWorkCellFill? GetFill(int row, int column) #Gets the effective supported fill at a one-based position. Selected fills, including explicit no-fill, override region defaults. Unresolved selected fills suppress defaults. Header and footer rows precede header columns. Banding applies only to body cells.
Parameters
- row int
- column int
Returns
IWorkCellFill?public IWorkCellPadding? GetPadding(int row, int column) #Gets supported effective padding at a one-based position, including unstored empty cells.
Parameters
- row int
- column int
Returns
IWorkCellPadding?public IWorkParagraphStyle? GetParagraphStyle(int row, int column) #Gets the effective supported paragraph style for a one-based cell, including unstored empty cells.
Parameters
- row int
- column int
Returns
IWorkParagraphStyle?public double? GetRowHeight(int row) #Gets the explicit height or default height of a one-based row, when known.
Parameters
- row int
Returns
double?public IWorkCellVerticalAlignment? GetVerticalAlignment(int row, int column) #Gets supported effective top, middle or bottom alignment at a one-based position, including unstored empty cells.
Parameters
- row int
- column int
Returns
IWorkCellVerticalAlignment?Inherited Methods
Properties
public bool HasBorderDeclarations { get; } #Gets whether native table defaults or selected edges declare border formatting, including invisible or unresolved borders.
public IWorkTableFillStyles FillStyles { get; } #Gets supported table-region and alternating body-row fill defaults without materializing empty source cells.
public IWorkTableTextStyles TextStyles { get; } #Gets the qualified table-region paragraph defaults.
public IWorkObjectIdentity? SourceIdentity { get; } #Gets the native table-info identity, excluding auxiliary model and tile records.
public int RowCount { get; } #Gets the declared row count without allocating an equivalent dense grid.
public int ColumnCount { get; } #Gets the declared column count without allocating an equivalent dense grid.
public int HeaderColumnCount { get; } #Gets the declared leading header-column count.
public double? DefaultRowHeight { get; } #Gets the default row height in source points.
public bool? AutoResizeRows { get; } #Gets whether native table rows grow to fit content. Null means the setting is absent or unresolved.
public double? DefaultColumnWidth { get; } #Gets the default column width in source points.
public IReadOnlyDictionary<int, double> RowHeights { get; } #Gets explicit row heights in points, keyed by one-based row position. Zero-size native entries use the default and are omitted.
public IReadOnlyDictionary<int, double> ColumnWidths { get; } #Gets explicit column widths in points, keyed by one-based column position. Zero-size native entries use the default and are omitted.
public IReadOnlyList<IWorkTableMergeRange> MergedRanges { get; } #Gets merged ranges in source order.
public IWorkGeometry? Geometry { get; } #Gets the table drawable geometry when present.
public string? AccessibilityDescription { get; } #Gets the source table accessibility description.
public IReadOnlyList<IWorkTableCell> Cells { get; } #Gets materialized value, diagnostic, or explicitly styled empty cells.