Free Support Forum - aspose.com

Pyramids

Pyramid boxes are coming as black.

Hi Praveen,

Thank you for contacting Aspose support.

Please provide the details of your scenario and how you are using the Aspose.Cells for .NET API to process the attached spreadsheet. This will help us to understand your requirement, and we will be in a better position to provide assistance in this regard.

We are using the below mentioned code snippet to convert the office documents to PDF


public override conversionStatus ConvertFileToPDF(ref string
spoolFilePath, ref string
pdfFilePath)<o:p></o:p>

{

conversionStatus status = conversionStatus.conversionFail;

//Based on file format call conversion component

try

{

DocumentType fmt = GetDocumentFormatType(ref spoolFilePath); //Uses CellsHelper.DetectFileFormat() to get file format

switch (fmt)

{

case DocumentType.docx:

Document doc = new Document(spoolFilePath);

doc.Save(pdfFilePath, Aspose.Words.SaveFormat.Pdf);

status = conversionStatus.conversionSuccess;

break;

case DocumentType.xlsx:

Workbook wb = new Workbook(spoolFilePath);

wb.Save(pdfFilePath, Aspose.Cells.SaveFormat.Pdf);

status = conversionStatus.conversionSuccess;

break;

case DocumentType.pptx:

PresentationEx pres = new PresentationEx(spoolFilePath);

pres.Save(pdfFilePath, Aspose.Slides.Export.SaveFormat.Pdf);

status = conversionStatus.conversionSuccess;

break;

case DocumentType.Unknown:

break;

}

}

catch (Exception ex)

{

LogMessage("Conversion failed. " + ex.ToString());

}

return status;

}

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue. Smart art shapes are rendering as black in the output pdf. We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-42380.

We have attached the output pdf for a reference.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\Excel+SmartArt-Process.xlsx”;


Workbook workbook = new Workbook(filePath);

workbook.Save(filePath + “.out.pdf”);

Hi,

Thanks for using Aspose.Cells.

We have fixed the issue CELLSNET-42380.

Please download and try the latest fix: Aspose.Cells
for .NET v8.5.2.2
and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-42380) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(1)