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!
Set text color for Table not working |
Post Reply |
Author | |
cprins
Beginner Joined: 14 Dec 18 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 14 Dec 18 at 12:55PM |
Hello,
I'm creating a table and I want to set the color of the first row to Blue with a White text The other rows have a white background and a black text color As soon as I set the text color to any value the text becoms invisible. what is it that I'm doing wrong
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi CPrins,
don't have any experiences with table creation in pdf-documents. Play a bit with the values you're using. The B-value 0 seems a bit strange regarding the format of the other values. Try it with the same format (x.xxx) like you're using for the background color... Cheers and welcome here, Ingo Edited by Ingo - 14 Dec 18 at 7:51PM |
|
Cheers,
Ingo |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 449 |
Post Options
Thanks(0)
|
Using:
pdf.QP.SetTableCellContent focus on last parameter remember this is HTMLText You could use: '<font color="#FF0000">ANY TEXT</font>' instead
'ANY TEXT'
|
|
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 |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 449 |
Post Options
Thanks(0)
|
|
|
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 |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 449 |
Post Options
Thanks(0)
|
I think that you should firstly set content and at the end use: QP.SetTableCellTextColor
|
|
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 |
|
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