Partilhar via


tcW element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

tcW element [Word 2003 XML Reference]

Represents the preferred width for this cell.

Usage

<tcW
    w="decimalNumberType"
    type="tableWidthPropertyType"
/>

Element Information

Element type tableWidthProperty
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
tcPr Represents the table cell properties.
tcPr Represents the cell properties to override in the table style.
tcPr Represents the cell properties for the style.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
w decimalNumberType optional Gets or sets the table width. The type of this value is dependent on the w:type value; twips or nil means twips; auto means automatic (w is ignored), and pct means 1/50 percent (for example, 5000 = 100%, 4975 = 99.5%, and so on).
type tableWidthPropertyType optional Gets or sets determines how to interpret the width.
  • nil
  • pct
  • dxa
  • auto

Definition

<xsd:element name="tcW" type="tableWidthProperty" minOccurs="0" maxOccurs="1" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp