How to reduce border thickness?

Topics: Developer Forum
Mar 31, 2011 at 7:37 AM
Edited Mar 31, 2011 at 7:58 AM


1. How to reduce the border thickness. Well, we have setting border style thick or thin is okay,but the thickness of border is so thick, could we reduce it.

2. In excel sheet, Format cell dialog box, Border tab we have variety of styles, I need next to "None" style. Like dot,If I  Use our dotted, "PHPExcel_Style_Border::BORDER_DOTTED" while printing dot is coming. if we use excel sheet style while printing dot will not come. so I need the same property in our PHPExcel. I hope it's Available but I don't know how to use it.

Its urgent, please tell me asap.

Thanks in advance,


Mar 31, 2011 at 1:12 PM

All the available border styles are listed in the latest PHPExcel package at Documentation/API/PHPExcel_Style/PHPExcel_Style_Border.html.

Apr 1, 2011 at 1:53 AM

Hi ScottMSanders,,


Thanks for your reply. I know about the various styles are available in our PHPExcel. 

my requirement is in BORDER_THICK need to reduce the thickness size.

code for thickness border[outline] :


 Is it possible? if possible please give the code help.

Thanks Again,


Aug 31, 2011 at 8:19 PM

Any word on this? These borders are thick as hell. this is bogus.