Save a Word and Power Point but not SaveandView

Hello, I only want to save the document. But I do not want to save and view. This is because if the user does not have Word installed on their system, I simply want to save the document.




1 Reply

SB Suriya Balamurugan Syncfusion Team July 18, 2022 11:27 AM UTC

Hi Sree,

Please refer the below sample application to save and view the generated Word document,
https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Getting-Started/Xamarin

If your requirement is to only save the document means, we suggest you to remove the viewing code from the helper files (SaveWindows.cs, SaveAndroid.cs, SaveIOS.cs) of the above sample application. We have modified the above sample application by commented the viewing code and attached below for your reference.

Please refer our UG documentation to know about how to create Word document in Xamarin,
https://help.syncfusion.com/file-formats/docio/create-word-document-in-xamarin

Please refer our UG documentation to know about how to create PowerPoint in Xamarin,
https://help.syncfusion.com/file-formats/presentation/create-read-edit-powerpoint-files-in-xamarin

Regards,
Suriya Balamurugan.


Attachment: Modified_CreateWorddocument_dd4f4a1f.zip

Loader.
Up arrow icon