FromStartPageTillEndPage

PageRange.FromStartPageTillEndPage method

Creates a page range, that starts from the specified page number (inclusively) and continues until the specified page number (exclusively)

public static PageRange FromStartPageTillEndPage(ushort startPageNumber, ushort endPageNumber)
Parameter Type Description
startPageNumber UInt16 Page number, from which page range starts, inclusively. Page numbers are 1-based, so must be strictly bigger than zero
endPageNumber UInt16 Page number, until which page range continues, exclusively. Page numbers are 1-based, so must be strictly bigger than zero, and also must be strictly greater than startPageNumber

See Also