New Forum | Previous | Next | (P-PDF) Developers
Topic: how to make my pdf unsavable?
Conf: (P-PDF) Developers, Msg: 116932
Date: 8/7/2004 08:24 AM
I am using VB to open a pdf file and add a few forms, then I save it in vb, but each time when I am trying to close adobe, adobe prompts me to save it, I don't want to see this message, does anyone know how to accomplish this?
here is my code snippet:
Set AVDoc = gApp.GetActiveDoc
Set PDDoc = AVDoc.GetPDDoc
Set AVPage = AVDoc.GetAVPageView
Set FormApp = CreateObject("AFormAut.App")
Set AcroForm = FormApp.Fields
Set Field = AcroForm.Add("Watermark1", "text", lngPage, 35, 45, 85, 30)
Call PDDoc.save(1, strPath)
is there anything wrong with these codes?