// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud try { // Instantiate Aspose Storage API SDK StorageApi storageApi = new StorageApi(Configuration.apiKey, Configuration.appSID, true); // Instantiate Aspose Words API SDK CellsApi cellsApi = new CellsApi(Configuration.apiKey, Configuration.appSID, true); String input = "Sample1.xlsx"; File inputFile = Utils.stream2file("sample1","xlsx", context.getResources().openRawResource(R.raw.sample1)); String sheet = "Sheet1"; int chartIndex = 0; storageApi.PutCreate(input, null, Utils.STORAGE, inputFile); com.aspose.cells.model.FillFormatResponse apiResponse = cellsApi.GetChartAreaFillFormat(input, sheet, chartIndex, Utils.STORAGE, Utils.FOLDER); System.out.println("ChatArea FillFormat Type :: " + apiResponse.getFillFormat().getType()); } catch (Exception e) { e.printStackTrace(); }