# Drawing labels with no border and transparent background

**URL:** <https://mapwindow.discourse.group/t/drawing-labels-with-no-border-and-transparent-background/1323>\
**Category:** Uncategorized\
**Created:** [April 28, 2022, 9:39pm UTC](https://mapwindow.discourse.group/t/drawing-labels-with-no-border-and-transparent-background/1323 "2022-04-28T21:39:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andyalex](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@andyalex](https://mapwindow.discourse.group/u/andyalex)\
**Post date:** [April 28, 2022, 9:39pm UTC](https://mapwindow.discourse.group/t/drawing-labels-with-no-border-and-transparent-background/1323/1 "2022-04-28T21:39:16Z")

</div>

Hello,  
I’m taking over a very old mapwindow project done in Access. The previous folks have pretty much messed it up and have lost a lot of functionality.

I’m new to MW but have figured out a few things. But now I’m trying to draw a label, or some text on the map, but not have the box around it, and have the “box” be transparent so it doesn’t cover details on the map.  
Is this possible? It does seem they were doing this in a previous version, but none of that is working now.

I’ve used both:  
mapCtl.DrawLabelEx hDraw, “test”, opt.x, opt.Y, 0

And the longer:  
Dim lbl As New MapWinGIS.Labels  
lbl.FontName = “Arial”  
lbl.FontColor = RGB(0,255,255)  
Set lbl = mapCtl.DrawingLabels(hDraw)  
lbl.Visible = True  
lbl.AddLabel “Test”,opt.x,opt.y,0,-1

They both look the same.

Thanks  
Andy

---

<div class="post-metadata">

**Author:** ![andyalex](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@andyalex](https://mapwindow.discourse.group/u/andyalex)\
**Post date:** [April 28, 2022, 10:31pm UTC](https://mapwindow.discourse.group/t/drawing-labels-with-no-border-and-transparent-background/1323/2 "2022-04-28T22:31:55Z")

</div>

I figured it out. Missed it in the intellisense that Access was bringing up.

I’m sure I’ll have more questions.  
Thanks  
Andy
