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!
![]() |
DrawBox drawing white boxes |
Post Reply ![]() |
Author | |
Ryland ![]() Beginner ![]() ![]() Joined: 20 Jan 10 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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? |
|
![]() |
|
Ryland ![]() Beginner ![]() ![]() Joined: 20 Jan 10 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
I just tried calling DrawBox() with outline instead of fill and it outlines the white box in black.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
"Fill" works, too. I'll send you a working sample tomorrow. Cheers and welcome here, Ingo |
|
![]() |
|
Ryland ![]() Beginner ![]() ![]() Joined: 20 Jan 10 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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