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 - DrawBox drawing white boxes
  FAQ FAQ  Forum Search   Register Register  Login Login

DrawBox drawing white boxes

 Post Reply Post Reply
Author
Message
Ryland View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Jan 10
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ryland Quote  Post ReplyReply Direct Link To This Post Topic: DrawBox drawing white boxes
    Posted: 20 Jan 10 at 4:19PM
My code is calling SetFillColor(0, 0, 0) but yet when I call DrawBox() it draws white boxes.  I have tried different values for SetFillColor but the boxes always stay white.  This was working yesterday but I don't see any changes that I have made to break filling in simple boxes.

The calls to DrawBox() are returning "1" which I assume means it worked fine and the X/Y coordinates are fine because I can see the white boxes if I goto a dark colored page in my pdf.

Is there something in general that would cause this?
Back to Top
Ryland View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Jan 10
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ryland Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jan 10 at 4:26PM
I just tried calling DrawBox() with outline instead of fill and it outlines the white box in black.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jan 10 at 6:25PM
Hi!

"Fill" works, too.
I'll send you a working sample tomorrow.

Cheers and welcome here,
Ingo
Back to Top
Ryland View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Jan 10
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ryland Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jan 10 at 6:40PM
For some reason removing a CombineLayers() call fixed the problem so now it fills properly instead of showing white when I call DrawBox() with a fill request..

Edited by Ryland - 20 Jan 10 at 6:41PM
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