New to Telerik Document ProcessingStart a free 30-day trial

Sequence Field

Updated on Feb 19, 2026

SeqField is a Field element that sequally 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 remaining Seq fields in the document to reflect the new sequence.

Field Syntax

This is how the syntax of a Sequence field looks like:

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 is limited to a 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

Inserting a SEQ fields can be easily achieved when inserting number to tables, figures, and other items in a document.

Example 1: Insert Sequence field using InsertField() method__

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

c#
editor.InsertText("Figure ");

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

See Also