Load document which I want to convert to image from computer by using document.LoadFromFile() method.ĭocument.LoadFromFile( document As New Document()ĭocument.LoadFromFile( “E:\Work\Antarctic.docx”) So I have added its dll file as reference in my project at the beginning. NETto realize conversion more quickly and easily. What’s more, I use a component, Spire.Doc for. Actually, there are several formats for image, and I set the image format which is converted from Word as. In this post, I will share a method about how to convert Word to Image with C#/VB.NET. At that time, people may need to convert a document to image firstly. Also, sometimes, we can find that the contract which is sent to partner is not an electronic file but an image because image is difficult to edit. Generally speaking, there are many methods to have an image, for example, to draw, print screen or find one from internet. Therefore, it seems that images become one of the most important parts of advertisements, booklets and many electronic documents, even e-books and magazines. Comparing with plain text, image is more appealed to people. Image appears everywhere in our daily life.
0 Comments
Leave a Reply. |