Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

How to change the background of a barcode from grey to white?

Posted on by Microsoft Employee

Hey guys,

I have created a barcode in my layout and its background is grey...

Do you know, how I can change the background colour to white?

It is a rdlc layout and the barcode I have created through an image.

pastedimage1584018417431v6.png

Thank you ;)

  • Suggested answer
    THE Italian Profile Picture
    THE Italian on at
    RE: How to change the background of a barcode from grey to white?

    This is very very very easy.

    1. Download and install a free or purchased barcode font in the server machine and restart it (this is needed to print server side)

    2. Do the same in all development client machines

    3. Design your report and in the textbox that has to print the barcode, select FontFamily. In the Font Family you should be able to see the name of your barcode. Select that one.

    End of the story.

    Some important notes

    1. Font MUST be TrueType (and not open type or whatever)

    2. Font embeddability must not be restricted

    You will find these font properties shown in the windows/font directory after you have installed the font/font family.

    Ejnoy.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to change the background of a barcode from grey to white?

    Ok, thank you for your response.

    Do you know, where I can find an explantion to add barcodes with barcode fonts?

  • Suggested answer
    THE Italian Profile Picture
    THE Italian on at
    RE: How to change the background of a barcode from grey to white?

    I would strongly (very strongly) suggest you NOT to use images within client since these are pretty heavy in terms of resource consumption (memory leak might be behind the door). I have seen this already several times with e.g. Item List. Really quite a nonsense - unless you are forced to -.

    I would suggest you to abandon the image pattern and fall back to use a specific barcode font.

    You will see a dramatic performance improvement.

    Related to the image. You cannot change this within RDLC. The image will just be converted into a base64 string and you cannot do any kind of manipulation.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans