Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

barcode datamatrix rotate clockwise anti-clockwise

Question

Within the function DrawBarcode there is a possibility rotating the barcode by appending the following to the barcode string: /RC = Rotate clockwise /RA = Rotate anti-clockwise /RU = Rotate 180 degrees

// Draw three different barcodes

// Barcode not rotated
        QP.DrawBarcode(25, 25, 150, 100, "MyBarcode256", 1, 0);
// Rotate the barcode clockwise
        QP.DrawBarcode(225, 50, 100, 600, "MyBarcode257/RC", 1, 0);
// Barcode not rotated
        QP.DrawBarcode(350, 50, 200, 150, "MyBarcode258", 3, 0);

// Save the new file to the output folder

    QP.SaveToFile("Barcodes.pdf");

For datamatrix barcodes there is a function called DrawDataMatrixSymbol. Unfortunately there is no functionality added rotating the barcode.

Function QuickPDF0723.PDFLibrary::DrawDataMatrixSymbol(Left As Double, Top As Double, ModuleSize As Double, Text As String, Encoding As Long, SymbolSize As Long, Options As Long) As Long

Is there a possibility rotating a datamatrix barcode?

Regards,

Answer

The functionality has been added into the latest 7.24 Beta.

http://www.quickpdflibrary.com/blog/2011/01/quick-pdf-library-7-24-beta-1-released/


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum