New to Telerik Document Processing? Start a free 30-day trial
SectionPages Field
Updated on Jun 16, 2026
The SectionPages field inserts the total number of pages in a section.
Field Syntax
The following table shows the syntax of a SectionPages field:
| Syntax |
|---|
| { SECTIONPAGES } |
Inserting
You can insert a SectionPages field through the RadFlowDocumentEditor's InsertField() method. It accepts code as the first argument and result as the second argument.
Example 1 demonstrates how you can insert a SectionPages field.
Example 1: Insert SectionPages Field
C#
editor.InsertText("Page ");
editor.InsertField("PAGE", "");
editor.InsertText(" of ");
editor.InsertField("SECTIONPAGES", "");
After updating the field, the result is "Page 3 of 19" (check Updating Fields).