Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_WORKSHEET > of_print_row_col_headers

of_print_row_col_headers() method

Set the option to print the row and column headers on the printed page.

Syntax

worksheet.of_print_row_col_headers ( Option )

Parameters

Option (optional)A boolean value that controls whether Worksheet prints the row and column headers. Values are:
TRUE - (Default) Print the row and column headers
FALSE - Do not print the row and column headers

Return value

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

Examples

worksheet1.of_print_row_col_headers ( true )