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
mvorage  
#1 Posted : Tuesday, March 10, 2020 6:38:23 AM(UTC)
Quote
mvorage

Rank: Newbie

Groups: Registered
Joined: 3/10/2020(UTC)
Posts: 2
Germany
Location: Aachen

Hi all,
I want to implement a PageUp and PageDown in my application (C# WinForms). For the UWP PdfViewer there is a method for PageUp and PageDown but not for the WinForm assembly. Am I missing something here? How to implement this functionality?

Thanks in advance,
Mark
Cees  
#2 Posted : Thursday, March 12, 2020 6:06:08 AM(UTC)
Quote
Cees

Rank: Newbie

Groups: Registered
Joined: 3/12/2020(UTC)
Posts: 1
Netherlands
Location: Helmond

You can use
PDFViewer.ScrollToPage(PageNumber);

One drawback I didn't (yet) found a way to find the Number of Pages in the PDF viewer. So you could enter a PageNumber beyond the maximum number. There will not be a exception or anything ..

Edited by user Thursday, March 12, 2020 6:06:56 AM(UTC)  | Reason: Not specified

mvorage  
#3 Posted : Monday, March 16, 2020 9:07:28 AM(UTC)
Quote
mvorage

Rank: Newbie

Groups: Registered
Joined: 3/10/2020(UTC)
Posts: 2
Germany
Location: Aachen

The number of pages can be found by PDFViewer.Document.Pages.Count

Thanks!
Quick Reply Show Quick Reply
Users browsing this topic
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.