Partager via


TableLayout.Type Propriété

Définition

Paramètre de disposition du tableau

Représente l’attribut suivant dans le schéma : 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)

Valeur de propriété

Retourne EnumValue<T>.

Attributs

Remarques

Les informations suivantes de la norme internationale ECMA ECMA-376 peuvent être utiles lors de l’utilisation de cette classe.

Spécifie l’algorithme qui doit être utilisé pour présenter le contenu de la table parente (voir définition de type simple pour plus d’informations sur chaque algorithme utilisé).

Prenons l’exemple d’un tableau qui doit utiliser l’algorithme de disposition de table de largeur d’ajustement automatique. Cette exigence est spécifiée à l’aide du wordprocessingML suivant :

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

L’élément tblLayout spécifie que la table doit utiliser l’algorithme de auto disposition.

Les valeurs possibles pour cet attribut sont définies par le ST_TblLayoutType type simple.

S’applique à