次の方法で共有


TableCellFitText Class

Defines the TableCellFitText Class.When the object is serialized out as xml, its qualified name is w:tcFitText.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffOnlyType
DocumentFormat.OpenXml.Wordprocessing.TableCellFitText

Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'宣言
Public Class TableCellFitText _
    Inherits OnOffOnlyType
'使用
Dim instance As TableCellFitText
public class TableCellFitText : OnOffOnlyType

Remarks

[ISO/IEC 29500-1 初版]

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 (§17.3.2.14), 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.

R2C1

R2C2

end example]

Parent Elements

tcPr (§17.7.6.8); tcPr (§17.7.6.9); 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TableCellFitText Members

DocumentFormat.OpenXml.Wordprocessing Namespace