Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_WORKSHEET > of_set_row_height

of_set_row_height() method

Set the height of a single row

Syntax

worksheet.of_set_row_height ( row, height )

Parameters

rowThe long whose value is the number of row
heightThe long or double whose value is the height of row

Return value

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

Examples

worksheet.of_set_row_height( 0, 20 )    	 // Set height for the first row
worksheet.of_set_row_height( 1, 10.5 )    	 // Set height for the second row