Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 956 Bytes

excel.setPrintArea.md

File metadata and controls

27 lines (20 loc) · 956 Bytes

Excel.setPrintArea

The setPrintArea function is established to set a sheet's printarea.

Sample

	var excel = new Excel("test.xlsx");
	excel.setPrintArea("mySheet",0,10,0,100);

API

CallingReturning
Excel . setPrintArea ( sheetName , startRow , endRow , startCol , endCol )Excel
ParametersTypeDescription
sheetNameStringThe sheet name.
startRowNumberThe start row of the range to be print. Indexed from 0.
endRowNumberThe end row of the range to be print. Indexed from 0.
startColNumberThe start col of the range to be print. Indexed from 0.
endColNumberThe end col of the range to be print. Indexed from 0.