Hi there,

how can i Create non rectangular labels?

I need to create a circular arena and the labels will be the seats.

Thanks and Regards,

Luke

Recommended Answers

All 2 Replies

Member Avatar for iamthwee

Why don't you use GDI

Instead of creating a new label just draw around the label. Such as place an ellipse around the label use:

Dim rect As New Rectangle(Label1.Left - 5, Label1.Top - 5, Label1.Width + 10, Label1.Height + 10)
        Using g As Graphics = Me.CreateGraphics
            g.DrawEllipse(Pens.Black, rect)
        End Using
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.