PurePDF 2.0 pdf_EmbedFile with link
Posted: Wed Jan 22, 2014 7:43 am
I was looking at example "Tutorial27 Include File.pb" which is simple enough.
I am trying to link to this internal file using (which does not work)
I know you could Embed files into documents and add linked anotations that point to those internal files.
maybe SetALaunch :
is there something I am missing on the syntax?
Norm.
Code: Select all
pdf_EmbedFile("20k_c1.txt")
Code: Select all
pdf_EmbedFile("20k_c1.txt","Attachments Pane")
link = pdf_Addlink()
pdf_SetLink(link,-1,-1,"20k_c1.txt")
pdf_Cell(60,10,"Launch action!",1,1,#PDF_ALIGN_LEFT,#True,link) ; expects a URL
maybe SetALaunch :
Code: Select all
pdf_SetALaunch(link,-1,-1,"20k_c1.txt","","open","")
Norm.