C#: Online Guide
How To: Word SDK
Insert Image into Microsoft Office Word
Home ›› XDoc.Word ›› C# Word: Insert Image

C# Word - Insert Image to Word Page in C#.NET

How to Insert Image to Word Page in C# Project


RasterEdge XDoc.Word Library provides some methods for developers to insert image to Word pages. generate and print barcode in asp net c#, c# itextsharp pdfcontentbyte add image, vb.net extract text from pdf, c# add watermark to existing pdf file using itextsharp, c# replace text in pdf file, convert tiff to pdf c# itextsharp. But if you want to insert various types of images, you may need to add the reference RasterEdge.XImage.Raster.dll into your project. If not, you can only add bitmap to Word page(s).

Related .net document control helps:
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net edit pdf text color: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net annotate pdf control: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net ppt viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET

Other user interested Office Word related articles:
ASP.NET Office Word Document Viewer - view, annotate, redact word (doc) files online in ASP.NET web applications.

Add Image to Word Page Using C#

Add references: how to delete a page from a pdf in c#, split pdf using c#, c# pdf add watermark, how to show page numbers in pdf using itext c#, vb.net password protect pdf file, c# itextsharp add text to pdf, vb net pdf add pages dynamically.











Use corresponding namespaces;

  using RasterEdge.Imaging.Basic;

  using RasterEdge.XDoc.Word;

  using RasterEdge.Imaging.Raster.Core;

It's a demo code for adding image to word page using C#. how to add header and footer in pdf using itextsharp in asp.net, asp.net preview pdf, asp.net edit pdf, asp.net mvc pdf viewer control, asp.net display pdf, open word document file in browser in asp.net, show image in datalist asp.net c#.

DOCXDocument docx = new DOCXDocument(@"C:\1.docx");
BasePage page = docx.GetPage(0);
REImage image = new REImage(@"C:\logo2.jpg");
page.AddImage(image, new Point(100, 100));