次の方法で共有


TableWidthType.Type プロパティ

定義

テーブル幅の種類

スキーマ内の次の属性を表します: 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)

プロパティ値

EnumValue<T> を返します。

属性

注釈

ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。

親要素の属性によって定義される width プロパティの w 単位を指定します。 このプロパティは、セルの間隔、推奨される幅、テーブルの余白など、テーブルのさまざまなプロパティを定義するために使用されます。

この属性を省略した場合、その値は (ポイントの 20 番目) と見 dxa なされます。

次の種類 dxaのテーブル セルの下の間隔を持つテーブルを考えてみましょう。

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

したがって、この型を使用して、 属性で指定された幅を w ポイントの 20 分の 1 の値として解釈する必要があります。

この属性に使用できる値は、単純型によって ST_TblWidth 定義されます。

適用対象