Compartir a través de


TableWidthType.Type Propiedad

Definición

Tipo de ancho de tabla

Representa el atributo siguiente en el esquema: w:type

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

Valor de propiedad

Devuelve EnumValue<T>.

Atributos

Comentarios

La siguiente información de ECMA International Standard ECMA-376 puede ser útil al trabajar con esta clase.

Especifica las unidades de la propiedad width definidas por el atributo del w elemento primario. Esta propiedad se usa para definir varias propiedades de una tabla, incluidos el espaciado de celda, el ancho preferido y los márgenes de tabla.

Si se omite este atributo, se supone que su valor es dxa (vigésimas de punto).

Considere la posibilidad de una tabla con un espaciado inferior de celda de tabla con un tipo de dxa:

<w:bottom ... w:type="dxa" />  

Por lo tanto, este tipo se usará para interpretar el ancho especificado en el w atributo como un valor en vigésimas de punto.

El tipo simple define los ST_TblWidth valores posibles para este atributo.

Se aplica a