Hello Friends,
Now you can easily generate DataMatrix Code (like QR Code) from Microsoft Dynamics NAV
Sample of Dynamics NAV Code
FileNameBmp := FileManagement.ServerTempFileName('bmp');
DataMatrix := DataMatrix.DmtxImageEncoder;
Image := DataMatrix.EncodeImage(Text2Encode);
Bitmap := Bitmap.Bitmap(Image, pxWidth, pxHeight);
Bitmap.Save(FileNameBmp);
CLEAR(TempBlob);
IF TempBlob.INSERT THEN;
FileManagement.BLOBImportFromServerFile(TempBlob, FileNameBmp);
TempBlob.MODIFY;
Copy DLL File in Add-ins Folder
Download the sample object from attached link
https://1drv.ms/u/s!An8nhANnLJmtkBaBKCwFT_VX00NR
Write the comments if need more detail
Thank you for reading.
Keep Sharing...Keep Growing.
Now you can easily generate DataMatrix Code (like QR Code) from Microsoft Dynamics NAV
Sample DataMatrix Output:
Sample of Dynamics NAV Code
FileNameBmp := FileManagement.ServerTempFileName('bmp');
DataMatrix := DataMatrix.DmtxImageEncoder;
Image := DataMatrix.EncodeImage(Text2Encode);
Bitmap := Bitmap.Bitmap(Image, pxWidth, pxHeight);
Bitmap.Save(FileNameBmp);
CLEAR(TempBlob);
IF TempBlob.INSERT THEN;
FileManagement.BLOBImportFromServerFile(TempBlob, FileNameBmp);
TempBlob.MODIFY;
Copy DLL File in Add-ins Folder
Download the sample object from attached link
https://1drv.ms/u/s!An8nhANnLJmtkBaBKCwFT_VX00NR
Write the comments if need more detail
Thank you for reading.
Keep Sharing...Keep Growing.
No comments:
Post a Comment