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!
![]() |
Background color |
Post Reply
|
| Author | |
artjaggy
Beginner
Joined: 01 Jun 09 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Background colorPosted: 01 Jun 09 at 2:34AM |
|
Hi,
I am using QuickPDF 7.13, and I was curious is there a way to use background color other than white, when rendering PDF. Thnx in advance. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 Jun 09 at 6:30AM |
|
Hi!
First you should use SetFillColor sample: SetFillColor(0.5, 0.5, 0.5) is grey sample: SetFillColor(1.0, 1.0, 1.0) is white Second you should use DrawBox Cheers, Ingo |
|
![]() |
|
artjaggy
Beginner
Joined: 01 Jun 09 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 Jun 09 at 2:57AM |
|
Thnx for your reply, Ingo!
What I meant is how do I render existing pdf file to the monitor, but instead of white background, I want to use, lets say yellow. Edited by artjaggy - 08 Jun 09 at 2:58AM |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 Jun 09 at 6:26AM |
|
Hi!
You don't render on white background. Rendering means transforming complete pdf-pages into an imageformat. If the pdf-page has a yellow background you will see it after rendering, too. If not then not ;-) If you are rendering with less dpi and if your image component or whereever you want to show the render result has yellow background color then you see a yellow background. If not then not ;-) What i want to say is: Rendering has nothing to do with a background color. You can render the pdf bigger or smaller to an image component - what you can do is to set the background color of the image component. If you want to set a frame round your rendered document then i come back to my previous post. Cheers, Ingo |
|
![]() |
|
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