Search Results for

    Show / Hide Table of Contents

    Class DocumentSectionType

    Enumerates the different types of sections that can be included in a document.

    Inheritance
    System.Object
    DocumentSectionType
    Namespace: IronWord.Models.Enums
    Assembly: IronWord.dll
    Syntax
    public sealed class DocumentSectionType : Enum

    Label what kind of content a section holds with DocumentSectionType. Default is the ordinary body section and the value most sections use, TitlePage marks an opening title section, Index flags an index region, and Appendix denotes supplementary material at the end. Choose the value that matches the role a section plays in the document. The document element tutorial walks through how sections and other elements fit together.

    var sectionType = DocumentSectionType.TitlePage;

    Fields

    Appendix

    Represents supplemental material attached to the end of a document, often containing additional information or references.

    Declaration
    public const DocumentSectionType Appendix
    Field Value
    Type Description
    DocumentSectionType

    Default

    Represents the main body of the document.

    Declaration
    public const DocumentSectionType Default
    Field Value
    Type Description
    DocumentSectionType

    Index

    Represents a list of topics and their corresponding page numbers, usually found at the end of a document.

    Declaration
    public const DocumentSectionType Index
    Field Value
    Type Description
    DocumentSectionType

    TitlePage

    Represents the introductory page of a document, typically containing the title, author, and other relevant information.

    Declaration
    public const DocumentSectionType TitlePage
    Field Value
    Type Description
    DocumentSectionType

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet