Hi,
we want to provide our bills with the GiroCode-QR-Code. For generating the QR-Code we might use the function "Girocode.dll" in the .Net SDK.
Please see below for an example how to use this:
FormatName[] imageFormats = new FormatName[] { FormatName.BMP,
FormatName.PNG, };
foreach (FormatName fn in imageFormats)
{
string bic = "SOLADES1PFD";
string name = "GiroSolution AG";
string iban = "DE23690516200012345600";
Decimal amountBD = 15.00m;
String purpose = "Zahlen mit Code";
GiroCode.GiroCode giroCode = new GiroCode.GiroCode
{
BIC = bic,
Name = name,
IBAN = iban,
Amount = amountBD,
Purpose = purpose
};
GiroCodeEncoder encoder = new GiroCodeEncoder();
byte[] ba = encoder.encode(giroCode, null, null, fn, 250, 250, null, null);
string fileType = fn.ToString();
string filePath = "C:/temp/girocode." + fileType;
File.WriteAllBytes(filePath, ba);
}
Can any one convert this to Net Express Cobol code.
Thanks,
Silke