public override void Add(
string pageRangeString
)
Public Overrides Sub Add (
pageRangeString As String
)
The range is specified as a string in the following forms or combination thereof:
5 | single value |
1,2,3,4,5 | sequence of values |
1-5 | closed range |
-5 | open range (converted to a sequence from 1 to 5) |
1- | open range (converted to a sequence from 1 to final page) |
all | keyword representing all page numbers. |
odd | keyword representing odd page numbers. |
even | keyword representing even page numbers. |
The value delimiter can be either ',' or ';' and the range separator can be either '-' or ':'. Whitespace is permitted at any point in the input.
Any elements of the sequence that contain non-digit, non-whitespace, or non-separator characters or that are empty are ignored.