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

Syncfusion.DocIO.DLS.shape: extract / render shape object to image data?

Hello all,

I am trying to extract shapes or other non bitmap objects from a word document but I cannot find anywhere how to render the shape object to an image/bitmap. Do you know how to achieve this?

Similarly how to convert other non-standard objects to image?


Attachment: Screenshot_2_1186c92f.zip

5 Replies

SB Suriya Balamurugan Syncfusion Team February 6, 2023 09:59 AM UTC

Hi Gabor,

At present, the Syncfusion Word library (DocIO) does not have a direct API to convert the shapes (Shape, Textbox, GroupShapes) in the Word document to image.

But we have API to convert the chart in a Word document to image. Please refer the below UG documentation link to know about this,

In your statement, you have mentioned like “other non bitmap objects” and “other non-standard objects”. Can you please provide us more information about your statement. Which element in the Word document actually you want to convert to image. If possible, please share the input Word document which contains the elements which you want to convert to image and listed out the elements.

Also, please share the purpose or end requirement of this conversion. Thereby, we will analyze any feasible way to achieve your end requirement and provide you appropriate solution at the earliest.

Suriya Balamurugan.

GH Gabor Horvath February 6, 2023 03:50 PM UTC

Thanks for your suggestion but it is not what I need.

The use case that I wanted to cover is:

The platform is Windows/WinForms only.

To convert DOC/DOCX to a reduced set of HTML / custom WIKI format, and to keep as much content as possible from the original document. To keep as much text as possible and to add anything else as jpg/png.

In other words to extract/convert to images all types of un supported elements like: OLE, Embedded documents along with shapes (lines, complex shapes, groups), custom symbols or other characters, ink, text art and so on.

If only there was a possibility to at least convert / extract the shape object to SVG, then I can render it with other libs - that will not be the rendering result used in word but at least should be something.

We are evaluating this library as an alternative to a solution that is already working. But this is a serious limitation so far.

Attached a testfile that I used and I have looked all over the documentation (really good btw) to see compatibility matrixes (link)

Thanks in advance.

Attachment: Word_features_test__2_64704cff.zip

SB Suriya Balamurugan Syncfusion Team February 7, 2023 12:56 PM UTC

Gabor, we will analyze about your requirement and update further details on 9th February 2023.

GH Gabor Horvath February 8, 2023 02:22 PM UTC

Thanks a lot for your help to forward this to the feature forum.

I will follow it there.

here are the links for anybody interested.

shape to image feature request

ink to image feature request

SB Suriya Balamurugan Syncfusion Team February 9, 2023 04:48 PM UTC

Gabor, please find the below details,

Regarding DOC/DOCX to HTML conversion:

By converting the DOC/DOCX documents to HTML using DocIO library, you can import all the basic elements such as paragraph, table, picture, icon, symbols, OLE objects into HTML document. Hope, it will be useful to import all the text into HTML document in fastest way.

Please refer the supported and un-supported items from here.

Regarding converting Word document elements as image:



Picture (Icon, Screenshot)

Kindly use the below attached sample to convert Picture, OLE, and Chart elements to image using DocIO library,


OLE Object



As we mentioned earlier, Syncfusion Word library (DocIO) does not have any public APIs to convert the shapes (Shape, Textbox, Lines, Group Shapes, Math Equations) in the Word document to image.

However, we have considered your requirement and added this feature request in our database.

Please track the status of this feature request from following link,



Group Shape

Math Equations


This feature is already included in our feature request database and here’s the link to the feature report page,



This feature is already included in our feature request database and here’s the link to the feature report page,



We have considered your requirement and added this feature request in our database.


At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know once these features are implemented.

Live Chat Icon For mobile
Up arrow icon