Hi,
I want to get the Bookmarks & Links from a existing PDF file in c#.
I will apprecite if any body can help me.

The following is VB code to get the Bookmarks using JSObject.
I require this in c# either using JSObject or any other way.
Also, I need to get the Links.

Dim OurPathFileName As String
Dim PDDoc As Acrobat.CAcroPDDoc
Dim jso As Object 'JavaScriptObject
Dim BookMarkRoot As Object
Dim Bookmark As Variant
Dim bookmark2 As Variant
OurPathFileName = "d:\TOC2.pdf"
Set PDDoc = CreateObject("AcroExch.PDDoc")

If PDDoc.Open(OurPathFileName) Then
Set jso = PDDoc.GetJSObject
Set BookMarkRoot = jso.BookMarkRoot

'1st hir
Bookmark = jso.BookMarkRoot.children
MsgBox Bookmark(0).name

'2 hir
bookmark2 = Bookmark(0).children
MsgBox bookmark2(0).name

End If

Thank you,
Prati