DocGrid.LinePitch プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
グリッド線のピッチをドキュメント化する
スキーマ内の次の属性を表します。 w:linePitch
[DocumentFormat.OpenXml.SchemaAttr(23, "linePitch")]
public DocumentFormat.OpenXml.Int32Value LinePitch { get; set; }
public DocumentFormat.OpenXml.Int32Value LinePitch { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "linePitch")]
public DocumentFormat.OpenXml.Int32Value? LinePitch { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:linePitch")]
public DocumentFormat.OpenXml.Int32Value? LinePitch { get; set; }
public DocumentFormat.OpenXml.Int32Value? LinePitch { get; set; }
member this.LinePitch : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "linePitch")>]
member this.LinePitch : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:linePitch")>]
member this.LinePitch : DocumentFormat.OpenXml.Int32Value with get, set
Public Property LinePitch As Int32Value
プロパティ値
Int32Value を返します。
- 属性
注釈
ECMA International Standard ECMA-376 からの次の情報は、このクラスを操作するときに役立ちます。
すべての行に同じ行ピッチが適用されていると仮定して、現在のページのドキュメント グリッドで許可される行数を指定します。 この行ピッチは、ドキュメントの互換性設定に adjustLineHeightInTable
要素が存在しない限り、テーブル セル内に表示される行には追加されません。
この属性は、ポイントの 20 分の 1 で指定され、現在のページに収まる 1 行のテキストの必要な数が収まるように、このページのテキスト行ごとのピッチを定義します。
20 文字幅の 20 行のドキュメント グリッドが定義されている標準の 8.5 x 11" ページを考えてみましょう。 結果の WordprocessingML は次のように定義されます。
<w:docGrid w:linePitch="684" …/>
linePitch
属性は、34.2 ポイントが、特定のドキュメント グリッドを維持するために、このページの各行に許可されるピッチの量を指定します。
個々の段落は、次のいずれかの方法でドキュメント グリッドに指定された行ピッチ情報をオーバーライドできます。
spacing
要素にexact
値のlineRule
属性を使用して行間の正確な値を指定するsnapToGrid
要素を使用して、段落テキストをドキュメント グリッドにスナップしないように指定する
この属性に使用できる値は、 ST_DecimalNumber
単純型によって定義されます。