FromStartPageWithCount

PageRange.FromStartPageWithCount method

Creates a page range, that starts from the specified page number and has specified amount of pages, or unlimited page count (till the end)

public static PageRange FromStartPageWithCount(ushort startPageNumber, ushort pageCount)
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
pageCount UInt16 Number of pages, must be strictly bigger than zero. If zero - this means all pages till the end of a document

Return Value

New PageRange instance

See Also