We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Syncfusion barcode into RDLC report

Thread ID:





124611 Jun 17,2016 07:31 AM UTC Jun 27,2016 09:12 AM UTC UWP 3
Tags: SfBarcode
Krishna Prasad
Asked On June 17, 2016 07:31 AM UTC

I am using Syncfusion SfBarcode control in my UWP application.And for my reporting purpose ,
i need to convert this bar code as image or byte array to show in my RDLC  report,unfortunately
RDLC doesn't support direct xaml binding.
Is it possible to convert Syncfusion bar code into jpeg format or byte array in UWP  10.
Thanks in advance.

Chinnu Muniyappan [Syncfusion]
Replied On June 20, 2016 12:36 PM UTC

Hi Krishna, 

Thank you for contacting Syncfusion support. 

Currently we don’t have support for exporting Barcode as image in UWP platform. But as a workaround we can achieve this by drawing Barcode in PDF and then exporting as Image. Please find the workaround sample in the below link. 

Sample link: 

1.       Here we use PdfViewer to display the PDF and then convert this to PDF.  
2.       To achieve this workaround, we need to use the below list of assemblies. 
Required Assemblies: 

We have logged a feature request for converting Barcode to Image, we will implement this in any of our upcoming release.  


Thomas Albert
Replied On June 24, 2016 06:30 AM UTC

Hi Krishna,

I think you can solve your problem with the following code:

RenderTargetBitmap rtb = new RenderTargetBitmap();
await rtb.RenderAsync(YourSfBarCodeControl, 1000, 1000);
var x = await rtb.GetPixelsAsync();
byte[] bytes = x.ToArray();

Any visible UIElement can be rendered as a bitmap and this bitmap can be converted into a byte array.

Hope this helps


Karthikeyan Chandrasekar [Syncfusion]
Replied On June 27, 2016 09:12 AM UTC

Hi Thomas, 
Thanks for your update. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon