Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_FORMAT > of_set_border

of_set_border() method

Set the top, bottom, left and right border to the same style.

Syntax

format.of_set_border ( border_style )

Parameters

Border_styleThe integer whose value is the border style

Return value

Integer. Returns 1 if it succeeds and -1 if an error occurs.

Description

A cell border is comprised of a border on the bottom, top, left and right.
See border styles.

Examples

format.of_set_border ( 1 )