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

File Formats: Convert Word Doc to Images

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);

3 Replies

KC Karthikeyan Chandrasekar Syncfusion Team 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  



IT infrastructure Team January 21, 2019 12:39 AM UTC

Ah, we missed this.

Thanks a lot!


KC Karthikeyan Chandrasekar Syncfusion Team January 21, 2019 05:10 AM UTC

You are welcome. 


Loader.
Live Chat Icon For mobile
Up arrow icon