Search Results for

    Show / Hide Table of Contents

    Class MergeFieldKind

    Describes the role a merge field plays in a Word mail merge template.

    Inheritance
    System.Object
    MergeFieldKind
    Namespace: IronWord.Models.MailMerge
    Assembly: IronWord.dll
    Syntax
    public sealed class MergeFieldKind : Enum

    MergeFieldKind identifies the role a merge field plays in a Word mail merge template, reported by MergeField.Kind when IronWord discovers a field. Value is the ordinary field whose text is replaced with a data value, the common case. TableStart and TableEnd mark the beginning and end of a repeating region (TableStart:RegionName) driven by a data table. NextRecord is a NEXT field that advances to the following record within the same template body. The replace words how-to covers replacing field text in a document.

    Fields

    NextRecord

    A NEXT field instructing Word to advance to the next record when iterating over a data source within the same template body.

    Declaration
    public const MergeFieldKind NextRecord
    Field Value
    Type Description
    MergeFieldKind

    TableEnd

    A region end marker of the form TableEnd:RegionName. Marks the end of a repeating block driven by a data table.

    Declaration
    public const MergeFieldKind TableEnd
    Field Value
    Type Description
    MergeFieldKind

    TableStart

    A region start marker of the form TableStart:RegionName. Marks the beginning of a repeating block driven by a data table.

    Declaration
    public const MergeFieldKind TableStart
    Field Value
    Type Description
    MergeFieldKind

    Value

    A regular merge field whose displayed text should be replaced with a data value.

    Declaration
    public const MergeFieldKind Value
    Field Value
    Type Description
    MergeFieldKind

    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