API Reference
TableBlock
Pipe table with optional header row.
Inheritance
- MarkdownBlock
- TableBlock
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method MarkdownDoc.DescendantTables
- Property MarkdownNativeTableBlock.Table
Constructors
public TableBlock() #Methods
public IEnumerable<TableCell> EnumerateCells() #IEnumerable<TableCell>Enumerates header and body cells in document order, preserving row/column metadata on each cell.
public TableCell GetCell(Int32 rowIndex, Int32 columnIndex) #TableCellGets a body cell by zero-based row and column index.
Parameters
- rowIndex System.Int32
- columnIndex System.Int32
public TableCell GetHeaderCell(Int32 columnIndex) #TableCellGets a header cell by zero-based column index.
Parameters
- columnIndex System.Int32
OfficeIMO#Markdown#IMarkdownBlock#RenderHtml() #OfficeIMO#Markdown#IMarkdownBlock#RenderMarkdown() #Inherited Methods
public Void Accept(MarkdownVisitor visitor) #VoidParameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #IEnumerable<TObject>Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #IEnumerable<MarkdownObject>public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public List<String> Headers { get; } #Optional header cells.
public IReadOnlyList<TableCell> HeaderCells { get; } #Typed header cell content.
public IReadOnlyList<InlineSequence> HeaderInlines { get; } #Parsed inline representation of the current header cells.
public List<IReadOnlyList<String>> Rows { get; } #Data rows.
public IReadOnlyList<IReadOnlyList<TableCell>> RowCells { get; } #Typed row cell content.
public IReadOnlyList<IReadOnlyList<InlineSequence>> RowInlines { get; } #Parsed inline representation of the current data rows.
public List<ColumnAlignment> Alignments { get; } #Optional column alignments per column (used when headers are present).
public List<Nullable<Double>> ColumnWidthPoints { get; } #Optional fixed column widths in points. Null entries are sized by weights or defaults.
public List<Double> ColumnWidthWeights { get; } #Optional relative column width weights. Missing columns default to 1.0 in consumers that support widths.
public Int32 SkippedRowCount { get; set; } #Number of rows skipped due to table limits.
public Int32 SkippedColumnCount { get; set; } #Number of columns skipped due to table limits.
Inherited Properties
public MarkdownObject Parent { get; } #public MarkdownDoc Document { get; } #public MarkdownObject Root { get; } #public Nullable<Int32> IndexInParent { get; } #public MarkdownObject PreviousSibling { get; } #public MarkdownObject NextSibling { get; } #public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #