Procedure xml_style_border PDF Print E-mail

This procedure allows you to control the border around a cell.  It can be called several times per style to get the border on all four sides, if needed.

 

Syntax

xml_style_border(&Position, &LineStyle, &Weight)

Required

No

Parameters

Position

Side

Left, Right, Top, Bottom

 

LineStyle

Type of line

Continuous, Double

 

Weight

Weight of the line

1 for normal line

Examples

do xml_style_border('Left', 'Continuous', 1)

do xml_style_border('Bottom', 'Double', 1)

 

More Examples:

do xml_init_style(1)
do xml_style_font('Arial', 10, 0)
do xml_style_border('Right', 'Continuous', 1)
do xml_style_border('Top', 'Continuous', 1)
do xml_style_border('Left', 'Continuous', 1)
do xml_style_border('Bottom', 'Continuous', 1)

 

do xml_init_style(2)
do xml_style_font('Arial', 12, 1)
do xml_style_border('Bottom', 'Double', 1)

 
Follow us on Twitter
RocketTheme Joomla Templates