Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_WORKSHEET > of_set_landscape

of_set_landscape() method

Set the orientation of a worksheet's printed page to landscape.

Syntax

worksheet.of_set_landscape ( )

Return value

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

Examples

worksheet.of_set_landscape (  )