Hi,
We are using dynamic pdf in .NET CORE application. Our ask is to create barcode and place it on the page at a specific location and with precise height and width. To do that we want to create barcode as an image or byte[] which we could then place it at a precise location by using ImageData imageDataObj = ImageData.GetImage(byteArray) and Image imageObj = new Image(imageDataObj, x, y).
Could we generate Barcode as an image or byte[] in .NET CORE? I saw this is available in .NET FRAMEWORK with the help of ceTe.DynamicBarcode.Creator package. Can you please advise?
Generate Barcode as a image or byte[]
Re: Generate Barcode as a image or byte[]
Support · Mar 16, 2021Hello,
You can output the generated barcode in the form of byte array using DynamicBarcode library but please note that it does not support .NET Core.
You can directly create any of the supported barcode using DynamicPDF Core Suite for .NET product and place it at required place using X and Y position coordinates. You can refer to the documentation on barcodes here
. You can set the required dimensions to the barcode using XDimension and YDimension values.
Thanks,
ceTe Software Support Team