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 - Background color
  FAQ FAQ  Forum Search   Register Register  Login Login

Background color

 Post Reply Post Reply
Author
Message
artjaggy View Drop Down
Beginner
Beginner


Joined: 01 Jun 09
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote artjaggy Quote  Post ReplyReply Direct Link To This Post Topic: Background color
    Posted: 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.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
artjaggy View Drop Down
Beginner
Beginner


Joined: 01 Jun 09
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote artjaggy Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

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