Guide for C#
Core Document Formats
Barcode Creating
Additional Features

C# Word - Create Barcode in C#.NET Word

How to Generate Barcode Images on Word Document Using C# Code

Visual C#
Home > .NET Imaging SDK > C# > Encode Barcode on Word
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!

C# Word 1D & 2D Barcodes Generation
RasterEdge .NET barcode generator control add-on offers C# developers with powerful barcode creating functions. Using this .NET barcode creator control in C# Word document imaging project, you can easily generate & add industry-standard linear and 2d barcode images on any Word document page with defined locations. Generated barcode images on MS Word page can be accurately and quickly read & decoded by compliant barcode scanners.
Related .net document control helps: pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm... pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C# edit pdf text: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
This C#.NET guide page for barcode creating & drawing on Word page is divided into following three parts.
  • C#.NET Word barcode generator add-on features
  • C# APIs and demo code to create & write 1d & 2d barcode images on target Word page
  • C#.NET Word barcode creator control supported barcode types
C#.NET Word Barcode Creator Add-on Features
  • Generate barcode image on Word without using other third-party tools or plug-ins
  • Perfect combination of barcode writing functions and Word manipulating techniques
  • Support both 1d and 2d barcodes generation on Word document using C#.NET class code
  • Easy to adjust barcode image location on loaded MS Word document with Visual C# programming code
  • Able to draw barcode image with customized size, rotation, resolution, etc. on Word page in C#.NET Windows and web applications
C#.NET APIs and Code to Add Barcode Image to MS Word
Following are the APIs that RasterEdge C#.NET Word barcode creator SDK offers to draw desired barcode type on defined location of source Word document page. To use these mature APIs, RasterEdge.Imaging.Basic.dll, RasterEdge.Imaging.Barcode.Creator.dll and RasterEdge.Imaging.MSWordDocx.dll should be added to your Visual C#.NET project first.
REImage BaseBarcode.ToImage();
void basePage.AddImage(REImage image, PointF point);
Here we give you a piece of C# sample code for generating Code 39 barcode on Word file page. And you can get more demo codes for other barcode types generations in next section.
public static void CreateBarcodeOnWord()
// generate a Code 39 barcode
Linear linearBarcode = new Linear();
linearBarcode.Type = RasterEdge.Imaging.Barcode.Creator.BarcodeType.CODE39;

// choose data to encode
linearBarcode.Data = "123456789";
linearBarcode.Resolution = 96;
linearBarcode.Rotate = Rotate.Rotate0;

// load Word document and you can also load documents like PDF, TIFF, Excel and PPT
DOCXDocument doc = new DOCXDocument(@"c:\sample.docx");

// get the first page
BasePage page = doc.GetPage(0);

// generate reimage of this barcode
REImage barcodeImage = linearBarcode.ToImage();

// add barcode image to the first page. The top left vertex of barcode image rectangle is at point(100,100)
page.AddImage(barcodeImage, new System.Drawing.PointF(100f, 100f));

// save changes to Word document
doc.Save(@"c:\sample.docx ");
C# Guides for All Barcodes Writing on Word
This C#.NET Word barcode generator SDK owns the ability to draw over 25 linear and 2d barcode images on source Word page. In this section, we list all these supported 1d and 2d barcode types that can be easily inserted into MS Word file (.docx). If you want to see detailed C# programming code for individual barcode type, please follow attached link.
Data Matrix Generation on Word Using C#.NET Identcode Generation on Word Using C#.NET
Easy to create a single or multiple Data Matrix barcode image(s) in MS Word document. Create an Identcode linear bar code image using Visual C# codes and paint it in Word page.
Create Micro PDF-417 in C# Word Create Intelligent Mail in C# Word
Navigate to this C# tutorial with sample code to print a Micro PDF-417 2D bar code on a Word doc. Generate a high-quality UPSP Intelligent Mail (OneCode) in a Word doc using Visual C#.NET coding.
Micro QR Code C# Word Generation Interleaved 2 of 5 C# Word Generation
Follow this Visual C# user manual to learn how to generate a space-efficient Micro QR Code image in C# imaging project. How to create an Interleaved 2 of 5 barcode encoding numeric data with high resolution for printing on Word document.
Print PDF-417 in C# Word Print ISBN in C# Word
This is a guide with detailed steps to demonstrate how to draw a PDF-417 or PDF-417 truncated barcode image in C# Word application. Drawing an ISBN, ISBN+2 or ISBN+5 bar code image in a Word document and specify accurate location using C# sample code.
Draw QR Code in Word with C# Draw ISSN in Word with C#
Here is a guide to help developers draw & paint an ISO/IEC or GS1 compatible QR Code image in a Visual C# Class Library Application. Draw & create scannable ISSN, ISSN+2 or ISSN+5 linear barcode image which is valid for printers with suitable resolution and paint it on a Word file.
C# to Create Codabar in Word C# to Create ITF-14 in Word
Use Visual C#.NET sample code to paint a linear Codabar barcode image on loaded Microsoft Office Word document page. Go to this guide page to learn how to draw & print an ITF-14 bar code image with automatic checksum digit on any page of loaded Word file.
Create C# Code 11 in Word Create C# Leitcode in Word
Printing and creating numeric Code 11 linear bar codes on a certain page of MS Word doc in C# program. How to create Leitcode postal barcodes on MS Word document page in Visual C#.NET application.
Code 2 of 5 Drawing in C# Word MSI Plessey Drawing in C# Word
Guide to draw Code 2 of 5 barcode encoding numeric data on MS Word file in C#.NET project. Support creating MSI Plessey barcode with feasible barcode setting options and adding it on Word.
Code 39 C# Creation in Word PLANET C# Creation in Word
Complete guide to create high-quality Code 39 barcode that is compatible with latest ISO/IEC specification in C#.NET Word application. Provide Visual C# demo code for generating and drawing PLANET barcodes on Word document page with user-defined location.
Generate Code 93 in Word C# Generate POSTNET in Word C#
This guide will show you how to generate Code 93 barcode with alphanumeric data encoded on your office Word document with C# programming code. Easily create and draw linear POSTNET barcode images with high quality in Visual C#.NET Word document processing project.
C# Code 128 Printing on Word C# RM4SCC Printing on Word
Check out this C# guide on how to print ISO/IEC compatible Code 128 in Word and adjust barcode size with C# code. This C# tutorial demonstrations on how to draw RM4SCC barcode in Word document and adjust barcode width & height.
C# Word Tutorial for EAN-8 Drawing C# Word Tutorial for UPC-A Drawing
If you want to generate GS1 specification compatible EAN-8 image in Word with C#.NET code, please go to this page to learn how. Using Visual C# programming language to draw and print a UPC-A, UPC-A+2, or UPC-A+5 linear barcode on any page of a Word doc.
Tutorial to Add EAN-13 in C# Word Tutorial to Add UPC-E in C# Word
Creating and making an EAN-13, or EAN-13 with two-digit/five-digit supplement data in a C#.NET Word processing application. Click here to see how to use C#.NET Barcode Creator Add-on to create UPC-E bar code in Word document page.
Make GS1-128 in Word with C#
This guide aims to help Visual C# developers create GS1-128 (UCC/EAN-128) linear barcode on any page of Word document.
C# Imaging - More Word Document Imaging Functions

Recommend this to Google+ is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster