Saving a word document as an image

This is presenting the initial page as an image, however it needs to be easy sufficient to deliver the other webpages likewise.

convert it to whatever measurements it will, at that point utilize imagemagick: to carry out or even resize whatever various other post-processing you need

I am using the below code to convert a Word Doc in to an image file. Yet the image looks very significant, and also the materials don’t match – exists a way to present account or even save account to size?

byte[] range = (byte[]) wordApp.ActiveDocument.Content.EnhMetaFileBits;
            if (range != null)
                MemoryStream ms = new MemoryStream(range);
                Metafile mf = new Metafile(ms);
                picImage.Height = mf.Height;
                picImage.Width = mf.Width;
                mf.Save("c:\\test.png", ImageFormat.Png);
                picImage.Image = Image.FromFile("c:\\test.png");

Exactly how about printing the document as a TIFF making use of the Microsoft Paper Image Article Writer?

You can also resize image programatically after waiting.

You might utilize the MODI digital ink-jet printer consisted of with office, to print to TIFF.

If it can easily be actually replicated) as well as at that point you can conserve the slide into a image of desired style, replicate the capacity to Powerpoint

Your request will certainly open that data in ms word in full display mode, and also create an bitmap by creating screen-shoots mowing borders and passing commands to reveal following web page.
Your task will definitely have ms word component (word object), do the very same trait as before yet grab just that component.

Office 2010 has a ‘save to PDF’ feaure. It might likewise be actually worth appearing at Open Office, it can easily open up MS Office docs, and save to PDF.

///Create PDF
   ReportDocument doc = new ReportDocument();

   doc.Load(WorkDir + "\\DtoD.rpt");
   doc.Database.Tables[0].Location = (WorkDir + "\\DtoD.mdb");

   doc.ExportOptions.ExportFormatType = outTp;
   doc.ExportOptions.ExportDestinationType =
   DiskFileDestinationOptions diskOpts = new DiskFileDestinationOptions();
   diskOpts.DiskFileName = dstfile;
   doc.ExportOptions.DestinationOptions = diskOpts;

Online laser printer motorists are actually a popular method to perform this.

intend to convert Microsoft word right into image documents using .Net C#. Propose any type of open resource

An image file or a PDF? What takes place if the file is actually much more than a solitary page?

My particular requirement is actually convert doc, xls, text, image in to PDF. Is it feasible using.Net C# or even any type of other available source?

For earlier variations of Office you can easily use PDFCreator, which is free of charge and also has COM api.