Wednesday 27 May 2015

QR Code DAX 2012

static void JobCreateforQRCode(Args _args)
{
Image image;
container imageContainer;
str url;
EFDocQRCode_BR qrCode;

// The url to create the QR code.
url = 'http://www.google.com';

// Create an instance of the QR code class
qrCode = new EFDocQRCode_BR();

// Generate a QR code for the URL and save the result to a container
imageContainer = qrCode.generateQRCode(url);

// Use AX's good old Image class to load the image from the container
// and save it as a file
image = new Image();
image.setData(imageContainer);

image.saveImage("F:\QrCode.jpg", ImageSaveType::JPG);
}

No comments:

Post a Comment

AZURE INTERVIEW QUESTIONS AND ANSWERS

AZURE INTERVIEW QUESTIONS AND ANSWERES 2021 2. What is cloud computing? Explanation:  It is the use of servers on the internet to “store...