Share via


TextAlignment.Val プロパティ

定義

垂直方向の文字配置の位置

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

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

プロパティ値

EnumValue<T> を返します。

属性

注釈

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

現在の段落の各行の文字を配置するために使用する垂直方向の配置の種類を指定します。

各行の各文字のベースライン ポイントに基づいて配置する、さまざまなフォント サイズのテキストの段落を検討してください。 この要件は、WordprocessingML で次のように指定されます。

<w:pPr>  
  <w:textAlignment w:val="baseLine" />  
</w:pPr>  

結果のテキストは、行の各文字のベースラインに合わせて配置されます。

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

適用対象