Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF and filling fields
Message
From
21/12/2000 12:00:52
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00455938
Message ID:
00455949
Views:
24
>Has any one had any experience or code to fill in fields on an existing pdf form.
>
>With VFP preferably, but any code ?

Here is how you can add a pushbutton to an existing file. Same with text fields.
You will need a full version of Acrobat or Acrobat business tools.

AcroExchAVDoc = CreateObject("AcroExch.AVDoc")
AcroExchAVDoc.Open("C:\FormsOLE.pdf", "")
AFormAut = CreateObject("AFormAut.App")
Fields = AFormAut.Fields
Field = Fields.Add("Submit Button", "button", 0, 100, 50, 150, 100)
Field.BorderStyle = "beveled"
Field.Highlight = "push"
AcroExchPDDoc = AcroExchAVDoc.GetPDDoc
AcroExchPDDoc.Save(1, "C:\FormsOLE.pdf")

Mark
Previous
Reply
Map
View

Click here to load this message in the networking platform