Package com.aspose.cells

Examples of com.aspose.cells.ImageOrPrintOptions


  {
    //Instantiate a new workbook
    Workbook book = new Workbook("data/AsposeDataInput.xls");

    //Create an object for ImageOptions
    ImageOrPrintOptions  imgOptions = new ImageOrPrintOptions ();

    //Get the first worksheet
    Worksheet sheet = book.getWorksheets().get(0);
   
    //Create a SheetRender object with respect to your desired sheet
View Full Code Here


    //Set the legend invisible
    chart.setShowLegend(false);

    //Get the Chart image
    ImageOrPrintOptions imgOpts = new ImageOrPrintOptions();
    imgOpts.setImageFormat(ImageFormat.getPng());

    //Save the chart image file.
    chart.toImage(new FileOutputStream("data/AsposeChartImage.png"), imgOpts);
 
View Full Code Here

TOP

Related Classes of com.aspose.cells.ImageOrPrintOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.