Skip to main content
All docs
V26.1
  • FieldName Enum

    Lists field names.

    Declaration

    export enum FieldName {
        Unknown = 0,
        Time = 1,
        Date = 2,
        Page = 3,
        NumPages = 4,
        MergeField = 5,
        DocVariable = 6,
        Hyperlink = 7,
        Seq = 8,
        Tc = 9,
        PageRef = 10,
        Toc = 11,
        FillIn = 12
    }

    Members

    Name Description
    Date

    The DATE field inserts the current date and time.

    DocVariable

    The DOCVARIABLE field inserts a complex content that is specified programmatically in the OnCalculateDocumentVariable(String) method.

    FillIn

    The FILLIN field displays a dialog box and inserts a user’s response as a field result. The dialog box is displayed each time you update the field.

    The HYPERLINK field inserts a hyperlink to another location or to a bookmark.

    MergeField

    The MERGEFIELD field inserts a value from the bound data source.

    NumPages

    The NUMPAGES field inserts the total number of pages.

    Page

    The PAGE field inserts the number of the page containing the field.

    PageRef

    The PAGEREF field inserts a number of the page that stores the specified bookmark for a cross-reference.

    Seq

    The SEQ field inserts the number of the figure/table/equations.

    Tc

    The TC field inserts the alternate entry for the table of contents.

    Time

    The TIME field inserts the current time.

    Toc

    The TOC field inserts the table of contents.

    Unknown

    The field has an unknown name.