static public method ParagraphExtensions.AddPageNumber

Brief

Adds a page number with a custom text and a specified font to the paragraph.

Declaration
C#
Gehtsoft.PDFFlow.Builder.FormattedTextElementBuilder  AddPageNumber (this Gehtsoft.PDFFlow.Builder.ParagraphBuilder paragraph, string customText, Gehtsoft.PDFFlow.Builder.FontBuilder font)

Parameters
paragraph

This ParagraphBuilder.

customText

A custom text.

font

The font of the page number and custom text.

Details

You can set the number of the first page from which the page numbering should start in a section using the SectionBuilder.SetPageNumberStart method.

Declared in ParagraphExtensions

back