Package com.aspose.cells

Examples of com.aspose.cells.Picture


    Worksheet sheet = workbook.getWorksheets().get(0);

    //Adding a picture at the location of a cell whose row and column indices
    //are 5 in the worksheet. It is "F6" cell
    int pictureIndex = sheet.getPictures().add(5,5,"data/xlsx4j/greentick.png");
    Picture picture = sheet.getPictures().get(pictureIndex);

    //Saving the Excel file
    workbook.save("data/xlsx4j/AddImage-Aspose.xlsx",SaveFormat.XLSX);
   
    //Print Message
View Full Code Here

TOP

Related Classes of com.aspose.cells.Picture

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.