Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CLIPWKS -Spreadsheet Library - <b>lmargins()</b> <b>printwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lmargins()                                                        PRINTWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Write printer margin information into the spreadsheet

 Syntax
   Lmargins( aSpreadsheet, nLeft, nRight, nPage, nTop, nBottom )

 Parameters
   aSpreadsheet   - Spreadsheet handle array
   nLeft          - Left margin in columns
   nRight         - Right margin in columns
   nPage          - Lines per page
   nTop           - Top margin in rows
   nBottom        - Bottom margin in rows

 Returns
   nStatus        - 0 = All Ok
                   -6 = Invalid parameters

 Notes
   Lmargins() is used to specify the margins and page length.  The left
   and right margin can be between zero and 254 characters. The top and
   bottom margin can be between zero and 32 lines.  The page length can
   be between one and 100 lines.

   Default values for various margins are listed below:

       Left       3           Excel margins are measured in
       Right     78           inches, so be sure to keep this
       Top        3           mind when specifying margins.
       Bottom     3           The defaults for Excel are an
       Lines     66           inch on each side.

 Category
   Creating spreadsheet files

See Also: Lsetup()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson