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!
PDF Viewer background |
Post Reply |
Author | |
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
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 |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
|
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 |
|
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
|
Ok,
thanks! |
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
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 |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
|
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 |
|
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
|
Yes, thanks |
|
Paul
Moderator Group Joined: 25 Jun 14 Location: Slovakia Status: Offline Points: 7 |
Post Options
Thanks(0)
|
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 |
|
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
|
Using VB.NET, I've:
AxDPVActiveX1.DQPLSetFormFieldBackgroundColor but not: AxDPVActiveX1.BackgroundColor Edited by Marco - 12 Dec 14 at 10:16AM |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
|
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 |
|
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
|
It doesn't work..
|
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
|
do you use the latest version ?
Debenu PDF Viewer SDK 11.12.0.5edit: 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 |
|
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
|
yes, in vb.net..and I've not the axDPVActiveX1.BackgroundColor property..
|
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
|
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 |
|
Marco
Team Player Joined: 09 Nov 10 Location: Livorno Status: Offline Points: 40 |
Post Options
Thanks(0)
|
What about the upgrade of PDF Viewer with the new features and the bug fix?
Thanks |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store