
Originally Posted by
Glenvn
Code:
PdfManipulation2.ExtractPdfPage("C:\Test.pdf",{1,3,5,6}, "C:\TestExtractMerge.pdf")
Is it a syntax problem.. Any ideas would be great!
Thank you in advance!
Glen
You need to declare the array and you're correct, it's a syntax error on your part for incorrectly doing it. That line should be like this:
Code:
Dim myPages() as Integer = New Integer() {1, 3, 5, 6}
PdfManipulation2.ExtractPdfPage("C:\Test.pdf",myPages, "C:\TestExtractMerge.pdf")
If you prefer to cramp everything in 1 line then
Code:
PdfManipulation2.ExtractPdfPage("C:\Test.pdf", New Integer() {1,3,5,6}, "C:\TestExtractMerge.pdf")