Barcode and QR codes

I need to generate Barcode and QR codes in my reports. We are currently using Aspose.Word to create reports. Whether this functionality is present in Aspose.Words for I need to purchase other product separately?

@jjebin,

Thanks for your inquiry. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word. However, Aspose.Words does not provide API to generate Barcode and QR codes. Please use our Aspose.BarCode product to achieve your requirement. Please refer to the following articles.
How to Generate a Custom BarCode Image for DISPLAYBARCODE Field
Creating and Managing 2D

Thanks for the info.

Will it support QR code generation also?

Whether the below code is for generating QR code using the Aspose.BarCode product?

case “QR”:
builder.EncodeType = Aspose.BarCode.Generation.EncodeTypes.QR;

@jjebin,

Yes, the mentioned line of code is used to generate the QR barcode using Aspose.BarCode. Following is the complete code sample for your reference to generate QR barcode.

CODE:

        // Generate the barcode
        Aspose.BarCode.BarCodeBuilder objBuilder = new Aspose.BarCode.BarCodeBuilder();

        // code text font's type and size
        objBuilder.CodeTextFont = new System.Drawing.Font("Verdana", 12f);

        // set barcode image visibility
        objBuilder.BorderVisible = false;

        // set the barcode symbology
        objBuilder.EncodeType = Aspose.BarCode.Generation.EncodeTypes.QR;

        // set the Code text for the barcode
        objBuilder.CodeText = "1234567";

        // save the barcode image
        objBuilder.Save(@"test_Code_QR.png", Aspose.BarCode.BarCodeImageFormat.Png);