TableWidthType.Width プロパティ

定義

テーブル幅の値

スキーマ内の次の属性を表します: w:w

[DocumentFormat.OpenXml.SchemaAttr(23, "w")]
public DocumentFormat.OpenXml.StringValue Width { get; set; }
public DocumentFormat.OpenXml.StringValue Width { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "w")]
public DocumentFormat.OpenXml.StringValue? Width { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:w")]
public DocumentFormat.OpenXml.StringValue? Width { get; set; }
public DocumentFormat.OpenXml.StringValue? Width { get; set; }
member this.Width : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "w")>]
member this.Width : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:w")>]
member this.Width : DocumentFormat.OpenXml.StringValue with get, set
Public Property Width As StringValue

プロパティ値

Int32Value を返します。

属性

注釈

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

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

この属性を省略した場合、その値は 0 と見なされます。

幅が 302 の下余白を持つテーブルを考えてみましょう。

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

したがって、 属性の値は w 、 属性で指定された単位のコンテキストで指定される幅を type 決定するために使用されます。 この場合、 typedxa (ポイントの 20 番目) であるため、幅はポイントの 302 twentieths (0.2097 インチ) です。

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

適用対象