Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
After you finish creating your spreadsheet, you will probably want to print a hard copy of the sheet for your need. When you are printing, MS Excel assumes you want to print the entire worksheet area unless you specify your selection.
Printing Worksheet
C#
//Instantiating a Workbook object
Workbook workbook = new Workbook("../../data/test.xlsx");
//Create an object for ImageOptions
ImageOrPrintOptions imgOptions = new ImageOrPrintOptions();
//Get the first worksheet
Worksheet sheet = workbook.Worksheets[0];
//Create a SheetRender object with respect to your desired sheet
SheetRender sr = new SheetRender(sheet, imgOptions);
//Print the worksheet
sr.ToPrinter("Samsung ML-1520 Series");
Download Printing Workbooks form any of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.