PDFViewer - open PDF with bookmarks

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
smolenak
Posts: 22
Joined: Tue Nov 20, 2012 3:06 am

PDFViewer - open PDF with bookmarks

Post by smolenak »

Hi everybody,

I'm just wondering how can I open PDF document with bookmarks option. Adobe Reader opens the document correctly (with bookmarks), but in iX by using PDFviewer component it doesn't.. How could I do it by scripting?
Other PDFViewer option tips are welcome also.

Thank You!

stuartm
Posts: 61
Joined: Thu Jun 06, 2013 9:21 am

Re: PDFViewer - open PDF with bookmarks

Post by stuartm »

When pressing the button, the bookmarks appear. One can improvise this script to a "screen opened", tag change, etc. There is no event that signals when the document is loaded though.

Code: Select all

void Button_Click(System.Object sender, System.EventArgs e)
{
    PDFViewer.ShowBookMarks = true;
}

Post Reply