Labels turned dark when printing as graphics in vb 2013.

55 Views Asked by At

I will start this with an honest introduction. I'm very confused with my problem that I cannot put it into words I'm really sorry if my question is not appropriate. I just can't make the words for my query. (English is not my native language) So this is my prob,whenever I try to print my form as graphics and save it as pdf it works just fine but what's bugging me is the darker color the labels get that are off the screen, what I mean is I got a scrollable form and the darker labels that appear are the ones that are not visible by the user without scrolling the form. Here is a screenshot to redeem my self, XD

Partial screen of the form, this is what the user initially sees when not scrolling the form

Partial screen of the form, this is what the user initially sees when not scrolling the form.

This is the screen for the generated pdf file.

The darker part of the screen is the lower part of the form

There it is, as you notice the part where the screen is visible looks fine but not the lower part. I don't what caused this really as I am very new in vb development.

Any help please? Thank you in advance.

1

There are 1 best solutions below

0
On

Ok so after fiddling with my vb project it seems that the code is correct and the culprit is with the settings of the labels. I used a transparent background for the labels which when I turned it to white the issue disappears. Well I really don't know what happened and why it was like that, but it fixed it. Hoorah! :)