Re: MacroPdf

Hello,

Here's the debug build dll supporting MacroPdf417 ( see attachment ).

Samples:

[c#]

Aspose.BarCode.BarCodeBuilder b;
//Instantiates a barcode builder
b = new Aspose.BarCode.BarCodeBuilder();
//Set up symbology type to be Pdf417
b.SymbologyType = Aspose.BarCode.Symbology.Pdf417;
//Pdf417 encode rows = 20
b.Rows = 20;
//Pdf417 encode columns = 1
b.Columns = 1;
//Text compaction mode
b.Pdf417CompactionMode = Aspose.BarCode.Pdf417CompactionMode.Text;
//Level 2 error correction
b.Pdf417ErrorLevel = Aspose.BarCode.Pdf417ErrorLevel.Level2;
//Not a truncated pdf417 barcode
b.Pdf417Truncate = false;
//This is a Macro pdf417 barcode
b.MacroPdf417 = true;
//This is the first segment ( the last segment would be Segment Count - 1)
b.MacroPdf417SegmentID = 0;
//Total segment count
b.MacroPdf417SegmentCount = 2;
//Not the last segment
b.MacroPdf417LastSegment = false;
//File name attribute
b.MacroPdf417FileName = "";
//File size attribute
b.MacroPdf417FileSize = 0;
//File id attribute
b.MacroPdf417FileID = new int[0];
//Address attribute
b.MacroPdf417Address = "Address";
//Sender attribute
b.MacroPdf417SenderName = "Sender";
//Time stamp attribute
b.MacroPdf417TimeStamp = "20070718";
//Save the MacroPdf417 image
b.Save("c:\\test.bmp");

[VB]

Dim b As Aspose.BarCode.BarCodeBuilder
'//Instantiates a barcode builder
b = New Aspose.BarCode.BarCodeBuilder()
'//Set up symbology type to be Pdf417
b.SymbologyType = Aspose.BarCode.Symbology.Pdf417
'//Pdf417 encode rows = 20
b.Rows = 20
'//Pdf417 encode columns = 1
b.Columns = 1
'//Text compaction mode
b.Pdf417CompactionMode = Aspose.BarCode.Pdf417CompactionMode.Text
'//Level 2 error correction
b.Pdf417ErrorLevel = Aspose.BarCode.Pdf417ErrorLevel.Level2
'//Not a truncated pdf417 barcode
b.Pdf417Truncate = False
'//This is a Macro pdf417 barcode
b.MacroPdf417 = True
'//This is the first segment ( the last segment would be Segment Count - 1)
b.MacroPdf417SegmentID = 0
'//Total segment count
b.MacroPdf417SegmentCount = 2
'//Not the last segment
b.MacroPdf417LastSegment = False
'//File name attribute
b.MacroPdf417FileName = ""
'//File size attribute
b.MacroPdf417FileSize = 0
'//File id attribute
Dim fileID( 0 ) As Integer
b.MacroPdf417FileID = fileID
'//Address attribute
b.MacroPdf417Address = "Address"
'//Sender attribute
b.MacroPdf417SenderName = "Sender"
'//Time stamp attribute
b.MacroPdf417TimeStamp = "20070718"
'//Save the MacroPdf417 image
b.Save("c:\test.bmp")

Best regards

hi iret

how can i read multiple barcode in this example