Compartir a través de


TableLayout.Type Property

Table Layout Setting.Represents the attribte in schema: w:type

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

Syntax

'Declaración
<SchemaAttrAttribute(, "type")> _
Public Property Type As EnumValue(Of TableLayoutValues)
    Get
    Set
'Uso
Dim instance As TableLayout
Dim value As EnumValue(Of TableLayoutValues)

value = instance.Type

instance.Type = value
[SchemaAttrAttribute(, "type")]
public EnumValue<TableLayoutValues> Type { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<TableLayoutValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the algorithm which shall be used to lay out the contents of the parent table (see simple type definition for details on each algorithm used).

Consider a table which shall use the AutoFit width table layout algorithm. This requirement is specified using the following WordprocessingML:

<w:tblPr>
  <w:tblLayout w:type="auto"/>
</w:tblPr>

The tblLayout element specifies that the table shall use the auto layout algorithm.

The possible values for this attribute are defined by the ST_TblLayoutType simple type.

See Also

Reference

TableLayout Class

TableLayout Members

DocumentFormat.OpenXml.Wordprocessing Namespace