AutoCaption.Caption プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
自動キャプションに使用されるキャプション
スキーマ内の次の属性を表します: w:キャプション
[DocumentFormat.OpenXml.SchemaAttr(23, "caption")]
public DocumentFormat.OpenXml.StringValue Caption { get; set; }
public DocumentFormat.OpenXml.StringValue Caption { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "caption")]
public DocumentFormat.OpenXml.StringValue? Caption { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:caption")]
public DocumentFormat.OpenXml.StringValue? Caption { get; set; }
public DocumentFormat.OpenXml.StringValue? Caption { get; set; }
member this.Caption : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "caption")>]
member this.Caption : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:caption")>]
member this.Caption : DocumentFormat.OpenXml.StringValue with get, set
Public Property Caption As StringValue
プロパティ値
StringValue を返します。
- 属性
注釈
ECMA International Standard ECMA-376 からの次の情報は、このクラスを操作するときに役立ちます。
WordprocessingML ドキュメントに挿入された特定の種類のオブジェクトに自動的にラベルを付けるために使用する、caption
要素の使用で定義されているキャプションを指定します。 キャプション設定は、この属性の値を、対応する caption
要素の name
属性と照合することによってリンクされます。
次の WordprocessingML について考えてみましょう。
<w:captions>
<w:caption w:name="table" w:pos="below" w:chapNum="1" w:heading="0" w:noLabel="1" w:numFmt="upperRoman" />
<w:autoCaptions>
<w:autoCaption w:name="Paint.Picture" w:caption="table" />
</w:autoCaptions>
</w:captions>
autoCaption
要素は、wfwTable
に等しく設定されているname
属性を使用して、name 属性が Table
と等しいキャプションで自動的にラベル付けされるように指定します (caption
要素のname
属性で指定Table
)。
この属性に使用できる値は、 ST_String
単純型によって定義されます。