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!
![]() |
Checkbox Rendering |
Post Reply ![]() |
Author | |
waynefulcher ![]() Senior Member ![]() ![]() Joined: 23 Jun 08 Location: United States Status: Offline Points: 99 |
![]() ![]() ![]() ![]() ![]() Posted: 30 Apr 19 at 8:07PM |
Does anyone know if there is a way to make a checkbox "Bold" when rendered out to a printer?
The X is so thin that it often becomes so light it is hard to see that the box is checked.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
Hi Wayne,
you should try the online reference and the search function there... ;-) with SetFormFieldCheckStyle you can try other styles for a better visibility: https://www.debenu.com/docs/pdf_library_reference/SetFormFieldCheckStyle.php Another thing you can do is to choose a font like "arial bold" or similar with SetFormFieldFont: https://www.debenu.com/docs/pdf_library_reference/SetFormFieldFont.php |
|
Cheers,
Ingo |
|
![]() |
|
waynefulcher ![]() Senior Member ![]() ![]() Joined: 23 Jun 08 Location: United States Status: Offline Points: 99 |
![]() ![]() ![]() ![]() ![]() |
I just wanted to come back and post something for future developers about rendering checkboxes with lines that are "Bold" (thicker than what you get by default).
Basically there is nothing in any search results that will tell you how to fix it because there is nothing in the library you can do to fix it naturally. For checkbox fields, changing font, text size, etc has no affect on the output. The only solution I came up with is a DIY solution. Just before rendering the pages to a printer or preview canvas, I flatten the fields but now I also check if I have a checkbox field which is "Checked" then I literally draw two diagonal lines in the shape of an X using the top, left, height and width of the checkbox field. This allows me to control line width to determine how bold to make the X. |
|
![]() |
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