Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_WORKSHEET > of_set_portrait

of_set_portrait() method

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

Syntax

worksheet.of_set_portrait ( )

Return value

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

Examples

worksheet.of_set_portrait (  )