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>lborders()</b> <b>printwks.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
lborders()                                                        PRINTWKS.PRG
------------------------------------------------------------------------------------------
 Purpose
   Write print borders into the worksheet

 Syntax
   Lborders( aSpreadsheet,cTop_range,cLeft_range )

 Parameters
   aSpreadsheet   - Spreadsheet handle array
   cTop_range     - Range of cells for top border
   cLeft_range    - Range of cells for left border

 Returns
   nStatus       0  All ok
                 5  Invalid range
                 6  Invalid parameters

 Notes
   Borders are ranges of cells that are printed along the left margin and
   the top row of a printed spreadsheet.  Be sure to keep the borders in
   mind when you set the print range of the spreadsheet.

 Example
function main
    LOCAL aWks  := Lcreate( "PARYOLL","L3" )
    if !empty(aWks)
        Lborders( aWks,"A1..G2","A2..A10")
        Lclose( aWks )
    endif
return ""

 Category
   Creating spreadsheet files

See Also: Lprtrange()

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