Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - PDF Viewer background
  FAQ FAQ  Forum Search   Register Register  Login Login

PDF Viewer background

 Post Reply Post Reply
Author
Message
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Topic: PDF Viewer background
    Posted: 11 Dec 14 at 9:33AM
Hi,

how can I to change the background color of the PDF Viewer in VB.NET?

Thanks,
regards
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 14 at 12:27PM
You can not change it yet.
But this can be very useful feature.
So I made FeatureRequest to Debenu Team



Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 14 at 12:45PM
Ok,
thanks!
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 14 at 1:08PM
Marco,

Are you just wanting to change the background colour outside of the PDF page in the Viewer control ?

Andrew.
 



Edited by AndrewC - 11 Dec 14 at 1:36PM
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 14 at 2:24PM
In the meantime (while waiting for a response from Marco)
For me, it would be useful ability to change the background that appears before you open the PDF file.

btw.
Some time ago, I reported the need for functionality (FeatureRequest) to close an opened file in order to return to the initial state.

EDIT:
As an example the situation:
program that uses Viewer is based on pastel colors blue and green.

Why then the Viewer must be gray ?


Edited by mLipok - 12 Dec 14 at 7:01AM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 9:22AM
Originally posted by AndrewC AndrewC wrote:

Marco,

<span style="line-height: 1.4;">Are you just wanting to change the background colour outside of the PDF page in the Viewer control ?</span>

<span style="line-height: 1.4;">Andrew.</span>
<span style="line-height: 1.4;"> </span>




Yes, thanks
Back to Top
Paul View Drop Down
Moderator Group
Moderator Group


Joined: 25 Jun 14
Location: Slovakia
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paul Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 9:59AM
Hi Marco,

In the latest version you can easily change the background color of the Viewer control. It is in the Properties list: BackgroundColor.

You can also change it with this simple sample C# code:

axDPVActiveX1.BackgroundColor = Color.Red;
axDPVActiveX1.Refresh();


Edited by Paul - 12 Dec 14 at 10:15AM
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 10:07AM
Using VB.NET, I've:

AxDPVActiveX1.DQPLSetFormFieldBackgroundColor

but not:

AxDPVActiveX1.BackgroundColor


Edited by Marco - 12 Dec 14 at 10:16AM
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 11:19AM
hmm..
I just get answer to my request...

It looks like in last update was added such feature.

from Debenu PDF Viewer SDK Quick Start Guide.pdf

OLE_COLOR BackgroundColor

This property is used to change the background of document view area. It accepts standard
COLORREF format 0x00RRGGBB.


btw.
check for updates here:
http://www.debenu.com/products/development/debenu-pdf-viewer-sdk/updates/



EDIT:

sample code:

axDPVActiveX1.BackgroundColor = Color.Red;
axDPVActiveX1.Refresh()



Edited by mLipok - 12 Dec 14 at 11:19AM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 11:28AM
It doesn't work..
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 11:33AM
do you use the latest version ?

Debenu PDF Viewer SDK 11.12.0.5


edit:
Works for me.


Edited by mLipok - 12 Dec 14 at 11:39AM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 11:41AM
yes, in vb.net..and I've not the axDPVActiveX1.BackgroundColor property..
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 12 Dec 14 at 11:47AM
I'am not vb.net experts (I never used it).
So you must wait for answer from other forum members.

Cheers,
mLipok

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Marco View Drop Down
Team Player
Team Player


Joined: 09 Nov 10
Location: Livorno
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco Quote  Post ReplyReply Direct Link To This Post Posted: 16 Dec 14 at 10:43AM
What about the upgrade of PDF Viewer with the new features and the bug fix?

Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store