PeachPDF
PeachPDF.Layout.IContainer
IContainer.BeginPageNumberOfSection(string) Method
Tags this container’s own physical position as the start of a page-numbered section named
sectionId, anywhere in a page’s normal content flow (not just
Header(Action<IContainer>)/Footer(Action<IContainer>) content) - a
decorator, like Bookmark(string, int), so chain it before the container’s own terminal content
(column.Item().BeginPageNumberOfSection("chapter1").Text("Chapter 1")) rather than
giving the section boundary a container of its own. Pair with a later
EndPageNumberOfSection(string) call using the same id, on whichever container holds the
section’s own last piece of content; PageNumberWithinSection(string)/
TotalPagesWithinSection(string) then resolve against the physical
pages that pair of tagged containers land on.
PeachPDF.Layout.IContainer BeginPageNumberOfSection(string sectionId);
Parameters
sectionId System.String