Version

ContentBlocks Property (TableCell)

Returns a collection of ContentBlock-derived objects, such as paragraphs or tables, which comprise the block-level content for this table cell.
Syntax
'Declaration
 
Public ReadOnly Property ContentBlocks As ContentBlocksCollection
public ContentBlocksCollection ContentBlocks {get;}
Remarks

Table cells can host the same content as the main document, i.e., paragraphs and tables.

Simple text can be assigned to a table cell using the SetText method. This method is extended as a convenience to the developer, so that the cell can display a textual value with no specific font attributes without incurring the overhead associated with triggering creation of this collection, as well as a Paragraph and a TextRun.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also