Generate Code128 Barcode signature for Csv document in C#

eSign your Csv business documents with Code128 Barcode. Generate Barcode signature quickly and easily with a few lines of code to set up signing options.


Download Free Trial

About GroupDocs.Signature for .NET Barcode signatures API.

GroupDocs.Signature for .NET is a quick and easy API to manage digital documents e-signing using Barcode types like UPCA, UPCE, EAN13, EAN14, Code39, Code39Extended, Code128, Codabar, Postnet, ISBN, ITF14 and many others. Customers can create easily Barcodes providing required text and put them on PDF, Microsoft Office Words Documents, Microsoft Office Excel workbooks, MS PowerPoint presentations, Adobe Photoshop files and various image formats. Barcodes placed in documents can be updated, searched, verified, deleted or previewed either. Moreover, barcodes customization is supported.

Steps to sign Csv with Barcode in C#

GroupDocs.Signature for .NET provides ability to sign Csv documents with Barcode signatures quickly and easily.

  • Create an instance of Signature class providing Csv file supposed to signing as path or memory stream
  • Instantiate SignOptions class and set all demanded data.
  • Invoke the Signature.Sign() method passing output Csv file or memory stream

System Requirements

GroupDocs.Signature for .NET are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.

  • Operating systems: Microsoft Windows, Linux, MacOS
  • Development environments: Microsoft Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Get the latest GroupDocs.Signature for .NET from Nuget


// Set up input Csv file
string filePath = "input.csv";
// Set up output file
string outputFilePath = "output.csv";

// Instantiate Signature for input file
using (var signature = new GroupDocs.Signature.Signature(filePath))
{
        // create barcode option with predefined barcode text
        var options = new BarcodeSignOptions("BC12345678")
        {
            // setup Barcode encoding type
            EncodeType = BarcodeTypes.Code128,

            // set signature position
            Left = 50,
            Top = 50,
            Width = 200,
            Height = 50                                        
        };
        
        // sign Csv document
        SignResult result = signature.Sign(outputFilePath, options);
}

Signing Csv documents with Barcode Live Demo

Sign Csv file with various signatures right now by visiting the GroupDocs.Signature App website. Free online demo waiting for you.

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

About Code128 Barcode

Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417:2007. It is used for alphanumeric or numeric-only barcodes.

All 128 characters of ASCII.

No specific restrictions.

Other supported Barcode signatures for C#

“You can also sign Csv with other signature types. Please see the list below.”

Sign PDF with BARCODE

(Portable Document Format)

Sign DOC with BARCODE

(Microsoft Word Binary Format)

Sign DOCX with BARCODE

(Office 2007+ Word Document)

Sign DOCM with BARCODE

(Microsoft Word 2007 Marco File)

Sign DOT with BARCODE

(Microsoft Word Template Files)

Sign DOTM with BARCODE

(Microsoft Word 2007+ Template File)

Sign DOTX with BARCODE

(Microsoft Word Template File )

Sign ODT with BARCODE

(OpenDocument Text File Format)

Sign OTT with BARCODE

(OpenDocument Standard Format)

Sign RTF with BARCODE

(Rich Text Format)

Sign XLS with BARCODE

(Microsoft Excel Spreadsheet (Legacy))

Sign XLSX with BARCODE

(Open XML Workbook)

Sign XLSM with BARCODE

(Macro-enabled Spreadsheet)

Sign XLSB with BARCODE

(Excel Binary Workbook)

Sign ODS with BARCODE

(OpenDocument Spreadsheet)

Sign OTS with BARCODE

(OpenDocument Spreadsheet Template)

Sign XLTX with BARCODE

(Excel Template)

Sign XLTM with BARCODE

(Excel Macro-Enabled Template)

Sign PPT with BARCODE

(Microsoft PowerPoint 97-2003)

Sign PPTX with BARCODE

(Open XML presentation Format)

Sign PPS with BARCODE

(PowerPoint Slide Show)

Sign PPSX with BARCODE

(PowerPoint Slide Show)

Sign ODP with BARCODE

(OpenDocument Presentation Format)

Sign OTP with BARCODE

(OpenDocument Standard Format)

Sign POTX with BARCODE

(Microsoft PowerPoint Template Presentation)

Sign POTM with BARCODE

(Microsoft PowerPoint Template File)

Sign PPTM with BARCODE

(Macro-enabled Presentation File)

Sign PPSM with BARCODE

(Macro-enabled Slide Show)

Sign PNG with BARCODE

(Portable Network Graphic)

Sign JPG with BARCODE

(Joint Photographic Expert Group Image)

Sign BMP with BARCODE

(Bitmap Image File)

Sign GIF with BARCODE

(Graphical Interchange Format)

Sign TIFF with BARCODE

(Tagged Image File Format)

Sign SVG with BARCODE

(Scalar Vector Graphics)

Sign WEBP with BARCODE

(Raster Web Image Format)

Sign WMF with BARCODE

(Windows Metafile)

Back to top
 English