PDF and XLS in same Xamarin mobile app

Good day


I am registered for syncfusion with the community licence.


I am using creating and distributing pdf files with great success.


Nou i want to also use the XLS part of syncfion. But when i install that nuget, my current code gets the following error

It is just that line which give the error


Is it possible to use both the pdf and the xls in the same app. It will not be on the same form, but in the same app


Or how do i fix this error,

Cannot convert from syncfusion.drawing.pointf to float  and the code with the error is
graphics.DrawUmage(Image, new PointF(0,0), new SiceF(95,95))


Thank you

Janda


1 Reply

AS Atchaya Sekar Syncfusion Team August 1, 2024 11:45 AM UTC

Hi Janda ,

 

Please refer to the below attached sample. We are creating Excel and PDF documents in a .NET Core application. Please use using Syncfusion.Drawing to avoid the error. Let us know if you have any questions.

 

Regards,

Atchaya S.


Attachment: GenerateExcelAndPdf_d74a7b12.zip

Loader.
Up arrow icon