| SAP Scripts Boxes/Lines/Shading
Setting default parameters for a box: You can use the POSITION and SIZE commands to set default parmeters for a box. Instead of:
You can write: /: POSITION XORIGIN '11.21' YORIGIN '5.31' MM
This can be usefull if you gave several boxes that share the same parameters. If you want to set the position realtively to the window use POSITION
WINDOW
Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively. /: POSITION WINDOW
the position is now 5 MM from the left and 10 MM from the top of the window NOTE: After using the position command you can move the current position realtively to the last used position /: POSITION XORIGIN '+10' MM YORIGIN '+20' MM Now the position will be X = 15 and Y = 30
Drawing a line. You can draw a line by setting the Height or Weidth
to 0
/: SIZE HEIGHT '0' MM WIDTH '200' MM
Best regards,
|