Generate Code128 Barcode signature for Wmf document in Java

eSign your Wmf 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 Java Barcode signatures API.

GroupDocs.Signature for Java 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 Wmf with Barcode in Java

GroupDocs.Signature for Java provides ability to sign Wmf documents with Barcode signatures quickly and easily.

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

System Requirements

GroupDocs.Signature for Java 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: NetBeans, Intellij IDEA, Eclipse, etc.
  • Java runtime: J2SE 6.0 and above
  • Get the latest GroupDocs.Signature for Java from Maven

        
// Set up input Wmf file
String filePath = "input.wmf";
// Set up output file
String outputFilePath = "output.wmf";

// Instantiate Signature for input file
Signature signature = new Signature(filePath);

// create barcode option with predefined barcode text
BarcodeSignOptions options = new BarcodeSignOptions("John Smith");

// setup Barcode encoding type
options.setEncodeType(BarcodeTypes.Code128);

// set signature position
options.setLeft(50);
options.setTop(50);
options.setWidth(200);
options.setHeight(50);

// sign Wmf document
SignResult result = signature.sign(outputFilePath, options);

Signing Wmf documents with Barcode Live Demo

Sign Wmf 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 Java

“You can also sign Wmf 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 CSV with BARCODE

(Comma Seperated Values)

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)

Back to top
 English