From 818bbcdf10f03a5704607613090810ca54b33f7a Mon Sep 17 00:00:00 2001 From: Ronaldo Arf Date: Fri, 11 Jun 2021 15:09:11 -0400 Subject: [PATCH] ajuste no readme Print Titles --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 84c7aea8..4a7ffd23 100644 --- a/README.md +++ b/README.md @@ -450,6 +450,23 @@ ws.setPrintArea(1, 1, 5, 3); ``` +##### Worksheet Print Titles + +Worksheet print titles can be set + +`ws.setPrintTitles(startRow, endRow)` where parameters are numbers corresponding to print titles + +```javascript + +// Sets print titles to row 5 +const wb = new xl.Workbook(); +const ws = wb.addWorksheet('Sheet 1'); +ws.cell(5, 3).string('Included in print titles'); +ws.cell(6, 3).string('Outside of print titles'); +ws.setPrintTitles(5, 5); + +``` + ## Rows and Columns Set custom widths and heights of columns/rows