Caption.ChapterNumber Property

Include Chapter Number in Field for Caption.Represents the attribte in schema: w:chapNum

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

Syntax

'Declaration
<SchemaAttrAttribute(, "chapNum")> _
Public Property ChapterNumber As OnOffValue
    Get
    Set
'Usage
Dim instance As Caption
Dim value As OnOffValue

value = instance.ChapterNumber

instance.ChapterNumber = value
[SchemaAttrAttribute(, "chapNum")]
public OnOffValue ChapterNumber { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

See Also

Reference

Caption Class

Caption Members

DocumentFormat.OpenXml.Wordprocessing Namespace