Defines the TableCellFitText Class. When the object is serialized out as xml, its qualified name is w:tcFitText.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
tcFitText (Fit Text Within Cell)
This element specifies that the contents of the current cell shall have their inter-character spacing increased or reduced as necessary to fit the width of the text extents of the current cell. This setting shall behave identically to placing the contents of this paragraph in a run and using the fitText element (§184.108.40.206), if the width provided on that element matched the width of the current cell.
If this element is omitted, then the text in this cell shall not be fit to the current cell extents.
[Example: Consider a 2 row by two column table, in which the contents of the two cells in the first row have both have the fit text property set, as follows:
<w:tcPr> <w:tcFitText w:val="true"/> </w:tcPr>
The resulting table cells must have their contents fit to the extents of the parent table cell, as follows:
Sample text in R1C1.
And this table cell instead contains a very very long string of sample text in R2C2.
tcPr (§220.127.116.11); tcPr (§18.104.22.168); tcPr (§17.4.70); tcPr (§17.4.71)
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.