ODF .NET Class Library
Show/Hide TOC

# Chapter Class

Represents a field that displays one of the following: - The name of the current chapter. - The number of the current chapter. - Both the name and number of the current chapter. If this element is placed inside a header or footer, it displays the current chapter name or number on every page.

## Definition

Namespace: Independentsoft.Office.Odf.Fields
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Chapter : Field

VB

    Public Class Chapter
    	Inherits Field

Inheritance
  Object Field Chapter

## Constructors

Chapter | Initializes a new instance of the Chapter class.

## Properties

DisplayType | Specifies the information that a chapter field should display.
OutlineLevel | Specifies an outline level to use.
Value | Contains chapter.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements. (Overrides FieldGetContentElements)
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element. (Inherited from Field)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Chapter object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Fields Namespace