Hi,
How is it possible to read the content of a pdf form with fivewin .
Is there a dll or activex ?
Thanks for your help.
function main()
AcroApp:= CreateObject("AcroExch.App")
theForm:= CreateObject("AcroExch.PDDoc")
theForm:Open("c:\reports\test.pdf")
jso:= theForm:GetJSObject
text1 = jso:getField("fld1"):Value
text2 = jso:getField("fld2"):Value
?text1
?text2
return nil
function main()
AcroApp:= CreateObject("AcroExch.App")
theForm:= CreateObject("AcroExch.PDDoc")
theForm:Open("c:\report\test.pdf")
jso:= theForm:GetJSObject
********** To Read Pdf form Field ***********************
text1 = jso:getField("fld1"):Value
text2 = jso:getField("fld2"):Value
********** To save pdf form field ************************
jso:getField("fld1"):Value="Value Changed"
TheForm:save(,"c:\report\test.pdf")
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 66 guests