AutoCaptions class

Office 2013 and later

Automatic Captioning Settings. When the object is serialized out as xml, its qualified name is w:autoCaptions.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class AutoCaptions : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

autoCaptions (Automatic Captioning Settings)

This element specifies that one or more types of objects, when inserted into a WordprocessingML document, are automatically be labeled with a specific caption defined using the caption element (§

[Example: Consider the following example illustrating a two page WordprocessingML document that has leveraged WordprocessingML to automatically label WordprocessingML tables with a specified caption.

This type of automatic captioning is specified using the following WordprocessingML fragment:

  <w:caption w:name="Table" w:pos="below" w:chapNum="1" w:heading="2" w:numFmt="upperLetter" w:sep="8212" />
    <w:autoCaption w:name="wfwTable" w:caption="Table" />

The autoCaptions element specifies set of objects that when inserted into a WordprocessingML document are automatically be labeled with a given caption. end example]

Parent Elements

captions (§

Child Elements


autoCaption (Single Automatic Captioning Setting)


[Note: The W3C XML Schema definition of this element’s content model (CT_AutoCaptions) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.