We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

The output pdf is not well formated with C++ SDK

Hi,

This my test file.
田恒伟血液检查汇总表.zip (16.8 KB)

@kngstr,
Could you please share the issues which you are facing while converting Excel file to PDF? Provide images from the attached PDF for our reference.
¦n¦p+¦-¬-¦+8¦T+p+_¦f.pdf (88.8 KB)

@ahsaniqbalsidiqui

Sorry.

The third line is not well formated, and the right cotent is moved to bottom.
xls.jpg (202.3 KB)
pdf.jpg (155.0 KB)

@kngstr,
We have observed this issue and logged it in our database for further investigation. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSCPP-279 - Converted PDF is not well formatted

@kngstr
Please try our latest fix: Aspose.Cells for C++ v21.5.0
Your issue should be fixed in it.
Thanks!

@xinyazhu

It still not well formated, but much better.
图片.png (28.1 KB)

@kngstr Hi,we tried 21.5 and 21.6 and they both work fine.
formatedPdf.png (32.9 KB)

Please check your DLL version is correct by
StringPtr info = ICellsHelper::GetVersion();
Console::WriteLine(info);

@xinyazhu

Sorry. You are right.
It works fine.
Thanks.

@kngstr,

Good to know that your issue is resolved by the new version. In the event of further queries or issue, feel free to write us back.

@Amjad_Sahi

Thanks.