Table of Contents

Interface PageRange.IPageRangePart

Namespace
iText.Kernel.Utils
Assembly
itext.kernel.dll

Inner interface for range parts definition

public interface PageRange.IPageRangePart

Methods

GetAllPagesInRange(int)

Gets the list of pages that have been added to the range part so far.

IList<int> GetAllPagesInRange(int nbPages)

Parameters

nbPages int

number of pages of the document to get the pages, to list only the pages eligible for this document

Returns

IList<int>

the list containing page numbers added to the range part matching this document

IsPageInRange(int)

Checks if a given page is present in the range part built so far.

bool IsPageInRange(int pageNumber)

Parameters

pageNumber int

the page number to check

Returns

bool

true if the page is present in this range, false otherwise