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); }
This blog is for all the Dynamics AX EP developers to share their opinion or views on the posts.
Search This Blog
Wednesday, 27 May 2015
QR Code DAX 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment