RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums
Views: 736 | Replies: 2
Reply
Join Date: Oct 2006
Posts: 14
Reputation: lukis is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
lukis lukis is offline Offline
Newbie Poster

non rectangular labels

  #1  
Apr 3rd, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Posts: 4,832
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 324
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: non rectangular labels

  #2  
Apr 3rd, 2007
Why don't you use GDI
... the hat of 'is this a cat in a hat?'
Reply With Quote  
Join Date: Dec 2002
Location: West Virginia
Posts: 407
Reputation: waynespangler is on a distinguished road 
Rep Power: 6
Solved Threads: 44
waynespangler waynespangler is offline Offline
Posting Pro in Training

Re: non rectangular labels

  #3  
Apr 4th, 2007
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:12 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC