border widths available

Topics: Developer Forum
May 15, 2012 at 2:38 PM

Are the only border widths available "thick" and "thin"? Is it possible to specify a border width in a number of pixels or other units? Thank you!

Coordinator
May 15, 2012 at 4:51 PM

Border options are defined as:

const BORDER_NONE = 'none';
const BORDER_DASHDOT = 'dashDot';
const BORDER_DASHDOTDOT = 'dashDotDot';
const BORDER_DASHED = 'dashed';
const BORDER_DOTTED = 'dotted';
const BORDER_DOUBLE  = 'double';
const BORDER_HAIR = 'hair';
const BORDER_MEDIUM = 'medium';
const BORDER_MEDIUMDASHDOT = 'mediumDashDot';
const BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot'; 
const BORDER_MEDIUMDASHED = 'mediumDashed';
const BORDER_SLANTDASHDOT = 'slantDashDot';
const BORDER_THICK = 'thick';
const BORDER_THIN = 'thin';
and these are the border styles/sizes defined in MS Excel itself.

As far as I'm aware, MS Excel provides no facility to define other thicknesses or styles.

 

 

May 16, 2012 at 6:31 PM

Thank you!