Set print area for a sheet using POI
Previous | Home | Next |
This example only show you how you can set the specific area of the sheet to print it. only POI provide the facility to performing to action on the excel sheet. it provide the setPrintArea() method which help you to do this type of the work.
In this program we are using only one setPrintArea() method for the set the print area of the sheet. we can print the specific area of the sheet and if we want to print other after first print then we are pass the next area instruction for printing by same method like setPrintArea(0, //index of sheet0, //starting column1, //end column0, //start row0 //end row)
|
Previous | Home | Next |