The coding instructions are formulated to help you to try-out the features without the requirement to write your own code. What is ByteScout Premium Suite? It is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can help you to reorder pages in pdf with pdf sdk in your VB.NET application.
This prolific sample source code in VB.NET for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to reorder pages in pdf with pdf sdk. Simply copy and paste in your VB.NET project or application you and then run your app! This basic programming language sample code for VB.NET will do the whole work for you to reorder pages in pdf with pdf sdk.
If you want to try other source code samples then the free trial version of ByteScout Premium Suite is available for download from our website. Just try other source code samples for VB.NET.
Imports Bytescout.PDF Module Program Sub Main() Try Dim doc As Document = New Document doc.Load("sample.pdf") ' Swap first and second pages: Dim tmp As Page = doc.Pages(1) doc.Pages.Remove(1) doc.Pages.Insert(0, tmp) 'Save output file doc.Save("result.pdf") 'Open output file Process.Start("result.pdf") Catch ex As Exception Console.WriteLine(ex.Message) End Try Console.WriteLine("Press any key to exit...") Console.ReadLine() End Sub End Module