Hi,
I have the requirement to draw a custom barcode. The sample of the barcode can be seen in the attachment.
*) Basically we will produce reports in the landscape format (not portrait format).
*) The reports will be printed in double sided. It means that both side of paper will have the contents.
*) The barcode will be drawn at the bottom right corner of the report. Remember that the reports will be printed in double sided, but the barcode will be only printed in the one side of the paper.
*) The barcode will be printed in vertical format based on our pre defined logic.
*) The horizontal and position of the barcode will be hard coded.
*) the vertical line will only have one thickness size.
Based on my research in the Aspose barcode product, i cannot find suitable format. I would like to know whether it's possible to draw custom barcode using Aspose and what is the advantage of using your product instead of drawing it manually through .NET
Regards,
hadi teo
Hi,
Thanks for the inquiry. First off, please note that barcodes generated by Aspose.BarCode for .NET can be customized e.g. size, fore color, back color, codetext location, angle, caption (color, location and size) etc. It is ideal for generating barcodes for the most common barcoding application needs. It would be great if you can share some details i.e How are you trying to use Aspose.Barcode for .net component in crystal reports
In addition, I would like to suggest you to visit documentation links below:
https://docs.aspose.com/display/barcodenet/Feature+Overview
Hi,
sorry for the late reply.
Let me furnish more with some information.
1) Since the barcode will be rendered uniquely in each pages based on the total number of pages, i will use the logic inside .NET application to render them
2) Let's say i have a method called RenderOMR. Below is the definition of the method
public PdfDocument RenderOMR(PdfDocument sourcePdfDocument).
3) I will use this method to consume a PDF document and render the OMR barcode on each individual pages and generate the PDF result. Below is the code snippet of the logic
public PdfDocument RenderOMR(PdfDocument sourcePdfDocument)
{
List resultPDF = new List;
foreach(Page currentPage in sourcePdfDocument.Pages)
{
Page resultPage = RenderOMR(currentPage.PageNumber)
resultPDF.Insert(Page);
}
return resultPDF;
}
4) the application will be in .NET 4.0
5) If possible , will you be able to give sample code snippet by using my above logic. Let's say, try to render 8 simple vertical lines.
Thanks for your help.
hadi teo