"Something like this. Change VER variable to version number as you need. ex. VER = 7 -> PDF 1.7 pdoc = AVDocGetPDDoc(avDoc); PDDocSavePa"