New to Telerik Document ProcessingStart a free 30-day trial

Sequence Field

Updated on Jul 15, 2026

SeqField is a Field element that sequentially numbers chapters, tables, figures, and other items in the document. If you add, delete, or move an item and its respective Sequence field, you can update the remaining Seq fields in the document to reflect the new sequence.

Field Syntax

The following table shows the syntax of a Sequence field:

Syntax
{ SEQ Identifier [Bookmark] [Switches]}

Seq Identifier

Every SEQ code needs an identifier to tag each sequence or list. Identifiers must start with a letter and are limited to 40 characters (letters, numbers, and underscores).

Bookmarks

Include a bookmark name to refer to an item elsewhere in the document.

Switches

Switches are a way for the code fragment to specify formatting for the result of the field. More information is available in the Syntax and Switches section of the Fields article.

The possible switches for a Sequence field are:

SwitchDescription
\cRepeats the closest preceding sequence number.
\hHides the field result.
\nInserts the next sequence number for the specified number.
\r nResets the sequence number to the specified number.
\sResets the sequence number at the heading level following the "s".

Inserting

You can insert SEQ fields when adding numbers to tables, figures, and other items in a document.

Example 1: Insert a SEQ field for figure numbering with the Image sequence identifier

The suggested approach for inserting code fields is to use RadFlowDocumentEditor. The InsertField() method accepts code as the first argument and the result as the second argument.

C#
editor.InsertText("Figure ");

editor.InsertField("SEQ Image", "Update Figure Number");

See Also