logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Andry Posted: Monday, November 28, 2016 3:56:02 PM(UTC)
 
That's the right decision.
Due to the fact that the document can be loaded not only from the file, but also from the stream, or byte array, there is no a standard way to determine the path to the document.
bandy Posted: Monday, November 28, 2016 2:07:15 PM(UTC)
 
Update: After posting my question I have decided to just use the .NET common open file dialog and then pass the filename to the PdfViewer.LoadDocument-method.
bandy Posted: Friday, November 25, 2016 4:37:00 AM(UTC)
 
Hi,

I have added an XAML instance of the PdfToolBarMain and bound it to my PdfViewer-control. This lets me open and view a PDF file without writing any code for the opendialog etc. However, I need the directory/filename of the PDF (from the open file dialog).

How do I get to this information?

I have not succeded to invoking the OnOpenClick-method (which I hoped could give me some clues).

Thanks.