PdfRunningContentContext
OfficeIMO.Pdf
Read-only page information used to compose bounded running header or footer content.
Inheritance
- object
- PdfRunningContentContext
Usage
Explore 6 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.
Accepted by parameters 6
- Method PdfFooterBuilder.Content
- Method PdfFooterBuilder.EvenPagesContent
- Method PdfFooterBuilder.FirstPageContent
- Method PdfHeaderBuilder.Content
- Method PdfHeaderBuilder.EvenPagesContent
- Method PdfHeaderBuilder.FirstPageContent
Methods
public string FormatPageNumber(int number, PdfPageNumberStyle? style = null) #Formats a positive page count using the supplied style or this page's numbering style.
Parameters
- number int
- style OfficeIMO.Pdf.PdfPageNumberStyle? = null
Returns
stringInherited Methods
Properties
public int PageNumber { get; } #Current visible page number, including an explicitly restarted numbering sequence.
public int TotalPages { get; } #Last visible page number in the current numbering sequence, matching the existing {pages} token.
public int DocumentPageNumber { get; } #Current one-based physical output page number.
public int DocumentPages { get; } #Total physical pages in the document.
public int SectionPageNumber { get; } #Current one-based physical page within the tracked source section, or the PDF page group when no source sections are tracked.
public int SectionPages { get; } #Physical page count in the tracked source section or PDF page group, independent of visible numbering and restarts.
public OfficeLength ContentWidth { get; } #Width of the page's content frame in points, including mirrored margins.
public OfficeLength PageWidth { get; } #Physical page width in points.
public OfficeLength PageHeight { get; } #Physical page height in points.
public PdfPageNumberStyle PageNumberStyle { get; } #Number style selected for this page's visible numbering sequence.