PeachDrawing.PDF.PdfOperation

PdfOperation.TakePages(string) Method

Keeps only the pages a selector names, in the order it names them.

public PeachDrawing.PDF.PdfOperation TakePages(string pageSelector);

Parameters

pageSelector System.String

a PdfPageSelector selector, such as "1,3,5-10" or "z-1"

Returns

PdfOperation
this operation

Exceptions

System.FormatException
the selector is not valid for the pages there are