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)
'Declaration Public Class TableCellFitText _ Inherits OnOffOnlyType 'Usage Dim instance As TableCellFitText
public class TableCellFitText : OnOffOnlyType
[ISO/IEC 29500-1 1st Edition]
17.4.68 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 (§22.214.171.124), 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 (§126.96.36.199); tcPr (§188.8.131.52); 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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.