Class
PdfFooterSegment
OfficeIMO.Pdf
A segment of header or footer content, either literal text, styled text, or a page token.
Inheritance
- object
- PdfFooterSegment
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Method PdfFooterSegment.DocumentPages
- Method PdfFooterSegment.PageNumber
- Method PdfFooterSegment.RichText
- Method PdfFooterSegment.TotalPages
- Property PdfHeaderFooter.Segments
Accepted by parameters 4
- Method PdfHeaderFooter.SetStyledZones
- Method PdfHeaderFooter.SetStyledZones
- Method PdfHeaderFooter.SetStyledZones
- Method PdfHeaderFooter.SetText
Constructors
Methods
public static PdfFooterSegment DocumentPages(PdfTextRun style) #Creates a document-wide page-count token using the supplied visual text style.
Parameters
- style OfficeIMO.Pdf.PdfTextRun
- Text run whose visual styling is applied; its text is ignored.
Returns
PdfFooterSegmentpublic static PdfFooterSegment PageNumber(PdfTextRun style) #Creates a current-page token using the supplied visual text style.
Parameters
- style OfficeIMO.Pdf.PdfTextRun
- Text run whose visual styling is applied; its text is ignored.
Returns
PdfFooterSegmentpublic static PdfFooterSegment RichText(PdfTextRun run) #Creates a styled literal text segment.
Parameters
- run OfficeIMO.Pdf.PdfTextRun
- Visual text run to render.
Returns
PdfFooterSegmentpublic static PdfFooterSegment TotalPages(PdfTextRun style) #Creates a total-pages token using the supplied visual text style.
Parameters
- style OfficeIMO.Pdf.PdfTextRun
- Text run whose visual styling is applied; its text is ignored.
Returns
PdfFooterSegmentInherited Methods
Properties
public string? Text { get; } #Literal text used when PdfFooterSegment.Kind is PdfFooterSegmentKind.Text.