Text alignment problem?

Hi,

Is there any way to change the forecolor of the qrcode?

Also when I experimented with text alignment to right (with code39 and codabar), part of the content was obscured.


Please check the latest version.


Thank you!

Jamin



6 Replies 1 reply marked as answer

AM Arumugam Muppidathi Syncfusion Team January 20, 2025 03:49 PM UTC

Hi Jamin,


Thank you for reaching out to Syncfusion support.


We have reviewed the reported issue on our end. Upon further analysis, we were unable to reproduce the issue when the barcode alignment was set to "Right." Additionally, the bar color can be customized as mentioned in your query using the BarColor property of the Barcode class.


To assist you further, we have created a sample that meets your requirements, demonstrating how to change the bar color and align the barcode to the right.

 

Please find the attached sample and output document for your reference.

We request you to try the provided sample on your end and share the results. If you continue to face any issues, kindly share the modified sample, complete code snippet, Syncfusion package name and version, and .NET version. This information will help us analyze the issue thoroughly and provide you with a prompt solution.


Regards,
Arumugam M


Attachment: BarcodeSample_174f70ad.zip


JA jamin January 20, 2025 05:19 PM UTC

Hi  Arumugam,

Please check these cases.


Thanks you!

jamin


Attachment: test_5a8c08fd.rar


AM Arumugam Muppidathi Syncfusion Team January 21, 2025 01:41 PM UTC

Hi Jamin,


Thank you for providing the sample.


We have reviewed the sample on our end and, after further analysis, we were able to generate barcodes using Code39 and Codabar with right-aligned text. The reported issue was not reproduced, and the output barcode images were clear and not obscured.


Please find the output images attached for your reference.

Regarding the foreground color of the QR code, we are currently exploring possible solutions to achieve this. We will provide an update with further details on January 23, 2025.


Regards,
Arumugam M


Attachment: Code39_5e936bd0.zip


JA jamin January 22, 2025 06:13 AM UTC

Hi Arumugam,


Thanks for checking. Your output is as expected.

However, Please check further with barcode control. it is its display issue. (after showing the dialog,

the problem will be reproduced)


Thanks you!

jamin



AM Arumugam Muppidathi Syncfusion Team January 23, 2025 01:41 PM UTC

Hi Jamin,


Currently, we don't have support for setting the foreground colors while generating QR barcodes in Windows Forms. We are analyzing this requirement and will provide further updates on January 27th, 2025.


Regards,

Arumugam M



KS Karmegam Seerangan Syncfusion Team January 27, 2025 01:26 PM UTC

Hi Jamin,


Currently, we don't have support for "Adding foreground and background colors in the QRBarcode of the SFBarcode library". We have added this requirement as a feature request. We don't have immediate plan to implement this support. We will implement this support in any of our upcoming releases.

 

You can track the status of the feature request using the feedback link below.

Support for Adding Foreground and Background Colors in the QRBarcode of the SFBarcode Library in WinForms | Feedback Portal


Regards,

Karmegam


Marked as answer
Loader.
Up arrow icon