次の方法で共有


Columns.EqualWidth プロパティ

定義

列の幅が等しい

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

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

プロパティ値

EnumValue<T> を返します。

属性

注釈

ECMA International Standard ECMA-376 からの次の情報は、このクラスを操作するときに役立ちます。

現在のセクションのすべてのテキスト列の幅が等しいかどうかを指定します。

この属性が存在し、その値が trueon、または 1に設定されている場合、このテキスト セクションのすべての列は等しい幅になり、次のように計算されます。

  1. ページの幅を取得します (余白から余白まで)。

  2. num属性で指定された列の数で除算します。

  3. 列ごとに、 space 属性で定義されている後にスペースを残します。

  4. 各列の残りの幅は、テキスト列の幅です。

この属性が存在し、その値が falseoff、または 0に設定されている場合、このテキスト セクションのすべての列は異なる幅であり、各 col 要素によって次のように定義されます。

  • col 要素は、1 つの列を定義します。

  • w 属性は、テキスト列の幅を定義します。

  • space 属性は、テキスト列の後のスペースを定義します。

列情報を次のように定義したセクションを考えてみましょう。

<w:cols w:num="3" w:space="1440"  
  w:equalWidth="1">  
  <w:col w:w="2880" w:space="2880" />  
  <w:col w:w="2880" w:space="1440" />  
  <w:col w:w="2880" />  
</w:cols>  

この列のセットには、 equalWidth 値が 1 に設定されています。 したがって、 col 要素は無視され、3 つの等しいサイズの列 (num3 の値) が 3 つあり、それぞれ 1 インチ (ポイントの space 20 分の 1 の 1440 の値) の後に 1 インチのスペースがあります。

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

適用対象