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 国际标准 ECMA-376 中的以下信息可能很有用。

指定使用 caption 元素定义的描述文字,该元素应用于自动标记插入到 WordprocessingML 文档中的给定类型的对象。 通过将此属性的值与name相应caption元素上的 属性相匹配来链接描述文字设置。

请考虑以下 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指定,通过name设置为 等于 wfwTable的特性,表将自动标记描述文字其 name 属性等于 Table (元素的属性Table指定的captionname值) 。

此属性的可能值由 ST_String 简单类型定义。

适用于