GUIDED API LAB
Loading lesson...
The coding workspace is preparing the first section story exercise.
Sections read—
Stories added—
Stories retrieved—
Text updates—
Page fields—
Ready to tryUse the controls above to interact with this demo.
Server-side document API
Compose page furniture per section
Every Section owns a HeadersAndFooters collection. Each story has its own selection, formatting, fields, distance, and connection to the preceding section.
Access a section
ServerTextControl.Sections[index]
Create a page story
Section.HeadersAndFooters.Add
Control inheritance
HeaderFooter.ConnectedToPrevious
Insert dynamic numbering
HeaderFooter.PageNumberFields
How the lab executes code
Every lesson starts with the same unadorned two-section brief. Submitted statements are parsed against an allowlist for section lookup, story creation, header/footer selections, section linkage, and page number fields; arbitrary CLR source is never compiled.
The first-page exercise demonstrates that primary, first-page, and even-page stories are separate objects. This allows chapter openers and section-specific numbering without modifying the main text.
NuGet packages
TXTextControl.TextControl.Core.SDK
34.0.5
Provides the core document model and server-side document processing APIs.
dotnet add package TXTextControl.TextControl.Core.SDK --version 34.0.5