SET
From LANSA Integrator
SET
The SET command is used to change the sheet settings of the specified sheet.
The SET command must be preceded by an OPEN command with write mode.
Required
SET ----------------------------------------------------------->
Optional
>-- SHEET ------------ sheet1 ------------------------>
value
>-- FREEZE ----------- value ------------------------->
>-- SELECTED --------- *YES -------------------------->
*NO
>-- GRIDS ------------ *YES -------------------------->
*NO
>-- ORIENTATION ------ *PORTRAIT --------------------->
*LANDSCAPE
>-- PROTECT ---------- *YES -------------------------->
*NO
>-- PASSWORD --------- value ------------------------->
*NONE
>-- MARGIN ----------- value ------------------------->
>-- HEADER ----------- *LEFT ------------------------->
*RIGHT
*CENTER
>-- FOOTER ----------- *LEFT ------------------------->
*RIGHT
*CENTER
>-- CONTENT ---------- value ------------------------->
>-- PRINTAREA -------- value ------------------------->
>-- PRINTTOFIT ------- *YES -------------------------->
*NO
>-- PRINTSCALE ------- value -------------------------|
Keywords
|
SHEET |
A specific sheet name can be entered otherwise the default value of sheet1 will be used. |
|
FREEZE |
Set horizontal row freeze or column vertical freeze. |
|
SELECTED |
Set this sheet to be the selected sheet. |
|
GRIDS |
Show or hide the sheet grids. |
|
ORIENTATION |
Specify the sheet orientation. |
|
PROTECT |
Enable or disable sheet protection. |
|
PASSWORD |
The worksheet protection password is optional and is used in combination with the PROTECT keyword. The special value of *NONE causes the password to be removed. |
|
MARGIN |
Set sheet margins. |
|
HEADER |
Specify which header content to change. The possible values are *LEFT,*RIGHT or *CENTER. |
|
FOOTER |
Specify which footer content to change. The possible values are *LEFT, *RIGHT or *CENTER. |
|
CONTENT |
The header or footer content text. |
|
PRINTAREA |
Set print area. |
|
PRINTTOFIT |
Enable or disable fits to page mode. |
|
PRINTSCALE |
Set print scale factor. |