Aracılığıyla paylaş


TableLayout.Type Property

Definition

Table Layout Setting

Represents the following attribute in the schema: w:type

[DocumentFormat.OpenXml.SchemaAttr(23, "type")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues> Type { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues> Type { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "type")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues>? Type { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:type")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues>? Type { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues>? Type { get; set; }
member this.Type : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "type")>]
member this.Type : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:type")>]
member this.Type : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.TableLayoutValues> with get, set
Public Property Type As EnumValue(Of TableLayoutValues)

Property Value

Returns EnumValue<T>.

Attributes

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.

Applies to