addPages
Add multiple pages from an input PDF file to an output PDF file.
addPages([in] LONG inputHandle, [in] int firstPage, [in] int lastPage,
[in] LONG outputHandle)
This function copies pages
firstPage
through
lastPage
from an input PDF file, in
, and
appends it to an output PDF file, out
.
VB6:
Dim in as Long, out as Long
in = pdf.openInput "c:/test/input.pdf"
out = pdf.openOutput "c:/test/output.pdf"
' append pages 3-7 of input.pdf to output.pdf
pdf.addPages in, 3, 7, out
VB.net:
Dim in as Long, out as Long
in = pdf.openInput("c:/test/input.pdf")
out = pdf.openOutput("c:/test/output.pdf")
' append pages 3-7 of input.pdf to output.pdf
pdf.addPages(in, 3, 7, out)