cpdf-source/docsplits/dotnetsplits/c03.tex

23 lines
830 B
TeX
Raw Permalink Normal View History

2022-03-07 18:16:03 +01:00
CHAPTER 2. Merging and Splitting
Cpdf.mergeSimple(List{Cpdf.Pdf})
2022-03-09 13:07:27 +01:00
Given a list of PDFs, merges the files into a new one, which is returned.
2022-03-07 18:16:03 +01:00
Cpdf.merge(List{Cpdf.Pdf}, Boolean, Boolean)
2022-03-09 13:07:27 +01:00
Merges the PDFs. If retain_numbering is true page labels are not rewritten. If
remove_duplicate_fonts is true, duplicate fonts are merged. This is useful when
the source documents for merging originate from the same source.
2022-03-07 18:16:03 +01:00
Cpdf.mergeSame(List{Cpdf.Pdf}, Boolean, Boolean, List{List{Int32}})
2022-03-09 13:07:27 +01:00
The same as merge, except that it has an additional argument - a list of page
ranges. This is used to select the pages to pick from each PDF. This avoids
duplication of information when multiple discrete parts of a source PDF are
included.
2022-03-07 18:16:03 +01:00
Cpdf.selectPages(Cpdf.Pdf, List{Int32})
2022-03-09 13:07:27 +01:00
Returns a new document which just those pages in the page range.