Class StiPageNumberHelper

Hierarchy

  • StiPageNumberHelper

Index

Constructors

constructor

Properties

clearPageNumbersOnFinish

clearPageNumbersOnFinish: boolean = true

pageNumbers

pageNumbers: StiPageNumberCollection = new StiPageNumberCollection()

Methods

addPageNumber

  • addPageNumber(pageIndex: number, segmentPerWidth: number, segmentPerHeight: number): void
  • Parameters

    • pageIndex: number
    • segmentPerWidth: number
    • segmentPerHeight: number

    Returns void

clear

  • clear(): void
  • Returns void

clearNotFixed

  • clearNotFixed(): void
  • Returns void

getPageNumber

  • getPageNumber(param1: StiPage | number | any): number
  • Parameters

    Returns number

getPageNumberThrough

  • getPageNumberThrough(param1: StiPage | number | any): number
  • Parameters

    Returns number

getTotalPageCount

  • getTotalPageCount(param1: StiPage | number | any): number
  • Parameters

    Returns number

getTotalPageCountThrough

  • getTotalPageCountThrough(pageIndex: number): number
  • Parameters

    • pageIndex: number

    Returns number

processPageNumbers

  • processPageNumbers(): void
  • Counts the PageNumber, TotalPageCount, PageNumberThrough, and TotalPageCountThrough values for every page.

    Returns void

resetPageNumber

  • resetPageNumber(pageIndex?: number): void
  • Parameters

    • Default value pageIndex: number = this.pageNumbers.count - 1

    Returns void

Generated using TypeDoc