I want to know how you can pass an image from a panel to a Crystal Report
report.
The image is a bar code that I generated, and I pass it to the report, but I can not pass the image to the report
How can I pass the image?
I want to know how you can pass an image from a panel to a Crystal Report
report.
The image is a bar code that I generated, and I pass it to the report, but I can not pass the image to the report
How can I pass the image?
If the report is linked to a typed DataSet you can assign it to a field of this and use it in the report
Crystal Reports - Upload image using a report layer
In the article I explain how you can do it, you will see that I use an xsd
The idea is from code to assign the image
Empleados.EmpresaRow row = empleado.Empresa.NewEmpresaRow();
row.Logo = ImageHelper.ImageToByteArray(ImageHelper.ObtenerImagenLogoEmpresa());
empleado.Empresa.Rows.Add(row);
The row of the datatable is created to assign the byte array of the image, finally assign the typed dataset as source of the report
report.SetDataSource(empleado);