We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Saving Word Document Elements as Images

Is it possible to save Word Document elements such as IWTable, WChart, etc. as images and then insert them into Word?  I am trying to save my word document as a pdf and since it is not supported in Xamarin Forms, I am thinking of saving important document elements as images to prevent editing.

Also, I do not see an option to insert a chart in a pdf document.

Sree

2 Replies

VR Vijay Ramachandran Syncfusion Team April 10, 2017 09:55 AM UTC

Hi Sree,

Thank you for using Syncfusion products.

Currently DocIO doesn’t provide support for converting Word document as Image in Xamarin. Also, it is not possible to insert chart into PDF document, but the chart can be convert as image and can be inserted to PDF document. Unfortunately, DocIO doesn’t provide Chart to Image conversion support in Xamarin.

We have already logged this as feature request in our database. We don’t have any immediate plans to implement this feature. We will consider to implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We request you to visit our website periodically for feature related updates.

Workaround for Word to PDF/Image conversion in Xamarin:

We can make use of REST service to convert the Word document as PDF and use that service as reference in Xamarin application. We have prepared a sample to perform the same using REST service in Xamarin. Following steps are done in this process.

   1. Run the service sample (TodoRESTService solution inside the TodoRESTService folder of sample).
   2. Run the Xamarin sample (TodoREST inside the sample) and click the convert button.
   3. Word to PDF conversion will be performed in the service application.
   4. And retrieved PDF from service application will be saved locally using Xamarin application.

Please find the sample from below link, and let us know if this helps you.
Sample link

Please refer below links to know more about service in Xamarin.
https://developer.xamarin.com/guides/cross-platform/application_fundamentals/web_services
https://developer.xamarin.com/guides/xamarin-forms/cloud-services/consuming/rest

Let us know if you have any concern.

Regards,
Vijay R



DB Dilli Babu Nandha Gopal Syncfusion Team March 1, 2018 07:42 AM UTC

Hi Sree 
 
Thank you for your patience. 
 
We are glad to announce that Word to PDF conversion in Xamarin platform is supported now. Our Essential Studio 2018 Volume 1 Release v16.1.0.24 is rolled out and is available for download under the following link. 
 
 
For more information, please refer the below KB: 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards, 
Dilli babu. 


Loader.
Live Chat Icon For mobile
Up arrow icon