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

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Antonio  
#1 Posted : Tuesday, January 5, 2016 5:15:22 AM(UTC)
Quote
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
Dear Sir,
this is a beatiful project. I think to buy Pdfium.Net SDK single developer license.
I want to implement a swipe gesture on multitouch monitor.
It's possible with Pdfium.Net?
Paul Rayman  
#2 Posted : Tuesday, January 5, 2016 5:16:32 AM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
PdfViewer has ample opportunities for customization based on user needs. So if you can recognize the swipe gesture (for pages switching?), then, in principle, you can creatively combine the Pan tool and ScrollToPage to achieve the result. In addition, the components are supplied in source code, so you'll be able to make the necessary modifications in the logic of the viewer.

Another more preferred method is to override the drawing methods and to animate the page switching on their own.
Guest  
#3 Posted : Tuesday, January 5, 2016 5:20:59 AM(UTC)
Quote
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
I think to buy a single developer license but i have a question.

I initialize the library and if i use
Code:

 PdfCommon.Initialize();
 pdfViewer1.ViewMode = Patagames.Pdf.Net.Controls.Wpf.ViewModes.Vertical;

all it's ok.

If i use mode
Code:

 PdfCommon.Initialize();
 pdfViewer1.ViewMode = Patagames.Pdf.Net.Controls.Wpf.ViewModes.Horizontal;

horizontal o other mode i have the error NullReferenceException.
Why have i this error? Evaluation license cannot open a pdf in
horizontal mode?
Paul Rayman  
#4 Posted : Tuesday, January 5, 2016 5:21:59 AM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
It's seems like a bug.
I'll check it.
Thanks.

Update:
Please upgrade to the latest(2.10.8.2454) version of Prfium.Net.Sdk.
In this release we are fix an issue with NullReferenceException in pdfViewer1.ViewMode = ViewModes.Horizontal
Look at here for details.

Edited by user Tuesday, January 5, 2016 5:25:03 AM(UTC)  | Reason: Not specified

Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.