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

Notification

Icon
Error

Options
Go to last post Go to first unread
cbreemer  
#1 Posted : Thursday, May 20, 2021 9:20:59 AM(UTC)
cbreemer

Rank: Newbie

Groups: Registered
Joined: 5/20/2021(UTC)
Posts: 2
Netherlands

Thanks: 1 times
Hello all,

If I display a pdf in single page mode it still reserves space for the vertical scrollbar even though there is none. So I get a useless grey strip to the right of my pdf. Is it possible to get rid of that ? Or at least set its color to white ? I looked through all the methods and properties but could not find anything.

Thanks for any ideas !
Cheers,
Chris
Paul Rayman  
#2 Posted : Thursday, May 27, 2021 10:08:30 PM(UTC)
Paul Rayman

Rank: Administration

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

Thanks: 5 times
Was thanked: 121 time(s) in 118 post(s)
Code:
pdfViewer1.Padding = new Padding(10, 10, 0, 0);
thanks 1 user thanked Paul Rayman for this useful post.
cbreemer on 5/28/2021(UTC)
cbreemer  
#3 Posted : Friday, May 28, 2021 3:01:44 AM(UTC)
cbreemer

Rank: Newbie

Groups: Registered
Joined: 5/20/2021(UTC)
Posts: 2
Netherlands

Thanks: 1 times
Originally Posted by: Paul Rayman Go to Quoted Post
Code:
pdfViewer1.Padding = new Padding(10, 10, 0, 0);

Many thanks Paul ! That looks just what I needed.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.