Freigeben über


TableLayout.Type Eigenschaft

Definition

Tabellenlayouteinstellung

Stellt das folgende Attribut im Schema dar: 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)

Eigenschaftswert

Gibt zurück EnumValue<T>.

Attribute

Hinweise

Die folgenden Informationen aus dem INTERNATIONALEN ECMA-Standard ECMA-376 können bei der Arbeit mit dieser Klasse nützlich sein.

Gibt den Algorithmus an, der zum Anordnen des Inhalts der übergeordneten Tabelle verwendet werden soll (Details zu den einzelnen verwendeten Algorithmus finden Sie unter Definition des einfachen Typs).

Stellen Sie sich eine Tabelle vor, die den Algorithmus autoFit width table layout verwenden soll. Diese Anforderung wird mithilfe des folgenden WordprocessingML-Codes angegeben:

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

Das tblLayout -Element gibt an, dass die Tabelle den auto Layoutalgorithmus verwenden soll.

Die möglichen Werte für dieses Attribut werden durch den ST_TblLayoutType einfachen Typ definiert.

Gilt für: