Black label on images for masking information

Hello Everyone,

I was looking for a solution to put a black label on sensitive information.
The information is always in the same place when the screenshot is taking. If someone can provide me ideas it will be great thanks a lot

black label

Hi, David!

If the black rectangles are in the same place and are the same size every time, then you can use the built-in System.Drawing library to add the rectangles.

You will need to use the System.Drawing.Graphics.FillRectangle() method.

See attached for full example. (27.7 KB)


Thanks a lot let me try!

If this resolved your issue, please consider marking the post as the solution. Thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.