PC Review


Reply
Thread Tools Rate Thread

drawing custom text in picturebox

 
 
Bouxirot Eric
Guest
Posts: n/a
 
      27th Oct 2004
hi there !

i'm searching a way to draw a string around a circle (or
other forms like line, arc, etc...) and with caracter
orientation..
i have found some stranges things on VB6 but i want do it
with VB.NET

someone have a good sample/or link for help me in this
hard task (for me !)

thank a lot !
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UnVsaW4gSG9uZw==?=
Guest
Posts: n/a
 
      27th Oct 2004
Here is about drawing a string in a line:
Dim mybitMap As New Bitmap(fileName)
Dim myGR As Graphics = Graphics.FromImage(mybitMap)
' Create string to draw.
Dim drawString As [String] = "Sample Text"
' Create font and brush.
Dim drawFont As New Font("Arial", 16)
Dim drawBrush As New SolidBrush(Color.Black)
' Create point for upper-left corner of drawing.
Dim drawPoint As New PointF(15.0F, 15.0F)
' Draw string to screen.
myGR.DrawString(drawString, drawFont, drawBrush, drawPoint)
Me.PictureBox1.Image = mybitMap



"Bouxirot Eric" wrote:

> hi there !
>
> i'm searching a way to draw a string around a circle (or
> other forms like line, arc, etc...) and with caracter
> orientation..
> i have found some stranges things on VB6 but i want do it
> with VB.NET
>
> someone have a good sample/or link for help me in this
> hard task (for me !)
>
> thank a lot !
>

 
Reply With Quote
 
Supra
Guest
Posts: n/a
 
      28th Oct 2004
http://www.vbdotnetheaven.com/

Bouxirot Eric wrote:

>hi there !
>
>i'm searching a way to draw a string around a circle (or
>other forms like line, arc, etc...) and with caracter
>orientation..
>i have found some stranges things on VB6 but i want do it
>with VB.NET
>
>someone have a good sample/or link for help me in this
>hard task (for me !)
>
>thank a lot !
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
drawing in a picturebox Ringo Microsoft C# .NET 8 14th Jul 2009 03:40 AM
Drawing in a picturebox Ringo Microsoft C# .NET 5 16th Aug 2006 02:16 AM
Drawing a text on a picturebox using API fantavir@gmail.com Microsoft Dot NET Compact Framework 4 11th Nov 2005 12:16 PM
Problem with drawing code when resizing custom PictureBox Sam Carleton Microsoft Dot NET Framework Forms 0 27th Jul 2005 08:48 PM
Drawing on PictureBox MuZZY Microsoft Dot NET Framework Forms 3 7th Sep 2004 04:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:14 PM.