EasyXLS
http://forum.easyxls.com/

adding "Outline" border to a cell range
http://forum.easyxls.com/viewtopic.php?f=11&t=1221
Page 1 of 1

Author:  apple [ Tue Jun 09, 2009 4:56 am ]
Post subject:  adding "Outline" border to a cell range

Hi,

Please guide me if some direct Border Style is available to add the "Outline" border to a cell range.
This option is available under : Format Cells dialog/ Border Tab/ Presets/ Outline

Author:  daniela [ Fri Jun 12, 2009 3:27 am ]
Post subject: 

You can find the available borders in class EasyXLS.Constants.Border
http://www.easyxls.com/manual/API_Doc ... order.html

To build the outline border you need to set the border for each 4 borders of the cell using ExcelStyle.setBorderStyles or ExcelCell.setBorderStyles method.

Author:  apple [ Fri Jun 12, 2009 12:43 pm ]
Post subject: 

thanks Daniela,

but the reason why I am asking about the "Outline Border" is : it allows me to add a single outline to a selected range of cells. I do not want to add full border(on all 4 sides) to each cell.
So does it mean EasyXLS does not give me the automatic functionality of adding the Outline to a range of cells, and I will have to write a customized Style for such operation ?

Author:  daniela [ Mon Jun 15, 2009 5:03 am ]
Post subject: 

Yes, you need to write a customize style.

Page 1 of 1 All times are UTC - 4 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/