PeachBrackets
PeachBrackets.Building.DocumentNode
DocumentNode.SetSectionPageCounter(string, bool) Method
Makes the node a page counter within a section: its text is the page number inside the section (or the section’s total page count, if isTotal is set), counted between the nodes marked with SectionBeginId and SectionEndId.
public void SetSectionPageCounter(string sectionId, bool isTotal);
Parameters
sectionId System.String
the section to count within
isTotal System.Boolean
whether the counter shows the section’s page count instead of the current page’s number in it