Increase Checkbox check symbol size

Increase Checkbox check symbol size

Forum member · Nov 13, 2017
I am trying to increase the symbol size of the check-mark that gets printed on the document when a CheckBox (Inherits FormElement) is newed up and added to the page. I tried to increase the FontSize property of the CheckBox with no luck. I am not sure if increasing the font size even helps. The size of the symbol printed right now is too small and we are trying to make it visible. Any help would be appreciated.

Re: Increase Checkbox check symbol size

Support · Nov 14, 2017
Hello, Setting font size for the checkbox will affect the size of the check symbol inside the checkbox. Also please note that it won’t affect the size of the checkbox. If you would like to increase the checkbox symbol size then you will need to set the dimensions (width and height) using Width and Height properties. Below is the code sample for setting width and height for the checkbox. Document document = new Document(); Page page = new Page(PageSize.Letter); CheckBox checkBox = new CheckBox("chk", 5, 7, 10, 10); checkBox.DefaultChecked = true; checkBox.ToolTip = "Check it"; checkBox.Width = 50; checkBox.Height = 50; page.Elements.Add(checkBox); document.Pages.Add(page); document.Draw(@"C:\Temp\MyDocument.pdf"); If you are merging a PDF and looking to modify the dimensions of the existing form fields then please note that the DynamicPDF Generator/Merger products do not support altering the dimensions and positions of the existing form fields in the PDF. Thanks, ceTe Software Support Team.