I am building a last page first function but it doesn’t seem to work as expected. It does indeed put the last page first but it doesn’t do a move but a copy. See code:
`
Public Sub PdfLastPageFirst(bytaPdfBytesIn As Byte(), ByRef bytaPdfBytesOut As Byte())
Using objDoc = New PDF.PDFDoc(bytaPdfBytesIn, bytaPdfBytesIn.Length)
Dim intPageCnt = objDoc.GetPageCount
objDoc.MovePages(1, objDoc, intPageCnt, intPageCnt, PDF.PDFDoc.InsertFlag.e_none)
bytaPdfBytesOut = objDoc.Save(Nothing)
End Using
End Sub
`