Hello!
There is a way to change dynamically the barcode type of a barcode element in a template MRT?
Thank in advance,
Davide
Change barcode type
Re: Change barcode type
Hello,
Can you please describe your task in details. And, if possible, send us a sample.
Thank you.
Can you please describe your task in details. And, if possible, send us a sample.
Thank you.
Re: Change barcode type
Hi, this is my MRT.
I have a simple barcode and at runtime I want (if it possible) to change the barcode type, for example from QRCode to DataMatrix.
Dimension and other properties will be always the same, I want only change the type from C# code. It's possible?
Thank you,
Davide
I have a simple barcode and at runtime I want (if it possible) to change the barcode type, for example from QRCode to DataMatrix.
Dimension and other properties will be always the same, I want only change the type from C# code. It's possible?
Thank you,
Davide
- Attachments
-
- Barcode Example.mrt
- Barcode Example
- (5.98 KiB) Downloaded 403 times
Re: Change barcode type
Ivan, can you help me?
Thank you.
Thank you.
Re: Change barcode type
Hello Davide,
You can use following code in BeforePrintEvent of barcode component:
Thank you.
You can use following code in BeforePrintEvent of barcode component:
Code: Select all
this.BarCode1.BarCodeType =
new Stimulsoft.Report.BarCodes.StiDataMatrixBarCodeType(
40F,
Stimulsoft.Report.BarCodes.StiDataMatrixEncodingType.Ascii,
false,
Stimulsoft.Report.BarCodes.StiDataMatrixSize.Automatic);
- Attachments
-
- BarCodeTypeSample.mrt
- (3.64 KiB) Downloaded 432 times