How to create bookmark using VB.NET?
hi,
i've got code create bookmark in pdf file don't think having line of code can't create bookmark. using vb.net this.
dim gapp acrobat.cacroapp
dim gpddoc acrobat.cacropddoc
dim gavdoc acrobat.cacroavdoc
dim gpdbookmark acrobat.acropdbookmark
gpdfpath = "c:\sample.pdf"
'initialize acrobat creating app object
gapp = createobject("acroexch.app")
gpdbookmark = createobject("acroexch.pdbookmark")
' show acrobat
gapp.show()
'set avdoc object
'gavdoc = gapp.getactivedoc
gavdoc = createobject("acroexch.avdoc")
' open pdf
if gavdoc.open(gpdfpath, "")
gpdbookmark.settitle("first") 'is right?
end if
can please me create bookmark? if code helpful.
thanks...!
i've got code create bookmark in pdf file don't think having line of code can't create bookmark. using vb.net this.
dim gapp acrobat.cacroapp
dim gpddoc acrobat.cacropddoc
dim gavdoc acrobat.cacroavdoc
dim gpdbookmark acrobat.acropdbookmark
gpdfpath = "c:\sample.pdf"
'initialize acrobat creating app object
gapp = createobject("acroexch.app")
gpdbookmark = createobject("acroexch.pdbookmark")
' show acrobat
gapp.show()
'set avdoc object
'gavdoc = gapp.getactivedoc
gavdoc = createobject("acroexch.avdoc")
' open pdf
if gavdoc.open(gpdfpath, "")
gpdbookmark.settitle("first") 'is right?
end if
can please me create bookmark? if code helpful.
thanks...!
it not possible create bookmark ole. can try acrobat javascript.
More discussions in Acrobat SDK
adobe
Comments
Post a Comment