次の方法で共有


AutoCaption.Caption プロパティ

定義

自動キャプションに使用されるキャプション

スキーマ内の次の属性を表します: 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 単純型によって定義されます。

適用対象