PeachPDF

PeachPDF.Layout.ITextSpanContainer

ITextSpanContainer.PageNumberWithinSection(string) Method

Appends the current page number counted from the start of the page-numbered section sectionId (see BeginPageNumberOfSection(string)) - 1 on the section’s own first page, 2 on its second, and so on. Only resolves inside Header(Action<IContainer>)/Footer(Action<IContainer>) content, the same as CurrentPageNumber().

PeachPDF.Layout.ITextSpan PageNumberWithinSection(string sectionId);

Parameters

sectionId System.String

Returns

ITextSpan