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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

File Formats: Convert Word Doc to Images

Thread ID:

Created:

Updated:

Platform:

Replies:

142031 Jan 16,2019 03:39 AM UTC Jan 21,2019 05:10 AM UTC ASP.NET MVC - EJ 2 3
loading
Tags: DocIO
Damien Turnbull
Asked On January 16, 2019 03:39 AM UTC

When attempting to export a 20 meg word document to images, the program is taking a huge amount of time and consuming nearly all of CPU and memory.

We're wanting to grab an image of the first page of the document.

Is there an easier way to do this than the method we are using? Seems a bit of overkill to have to convert the entire word doc to images when we just need the first page converted.

Thanks

Image[] images = wordDocument.RenderAsImages(Syncfusion.DocIO.DLS.ImageType.Bitmap);

Karthikeyan Chandrasekar [Syncfusion]
Replied On January 18, 2019 07:21 AM UTC

Hi Damien, 
Thank you for your interest in Syncfusion products. You can convert the specific page to image by using the below overloads. Please refer the methods RenderAsImages(Int32,ImageFormat) and RenderAsImages(Int32,ImageType) 

Regards, 
Karthikeyan  


Damien Turnbull
Replied On January 21, 2019 12:39 AM UTC

Ah, we missed this.

Thanks a lot!

Karthikeyan Chandrasekar [Syncfusion]
Replied On January 21, 2019 05:10 AM UTC

You are welcome. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon