Method CaptionLabels
CaptionLabels(WordDocument)
The labels Insert Caption offers: Word's (Equation, Figure, Table) and every other one the document's SEQ fields use.
public static IReadOnlyList<string> CaptionLabels(this WordDocument document)
Parameters
documentWordDocumentThe document.
Returns
- IReadOnlyList<string>
The labels, Word's first, then the document's in name order.
Exceptions
- ArgumentNullException
documentis null.