next up previous contents index
Next: Splitting on Bookmarks Up: Merging and Splitting Previous: When a Document Appears   Contents   Index

Selecting Pages

Any pages can be selected from a PDF with SelectPages, giving a range. The pages specified in the range are present in the order in which they are given, including any duplicates (so, for instance, to extract the first three pages of a document, the range would be 1 2 3, and to duplicate the first page of a four page document, the range would be 1 1 2 3).
\begin{framed}
\noindent\textit{Selecing Pages from a Document}\\
\par
\noinden...
...dfdoc = Cpdflib.SelectPages(pdf, pages)!
\end{minipage}\end{tabular}\end{framed}



root 2008-12-01