473,322 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

drawing custom text in picturebox

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 !
Nov 21 '05 #1
2 14810
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 !

Nov 21 '05 #2
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 !


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tyler Foreman | last post by:
Hello, I had an earlier post regarding a strange exception I (thought) I was getting in my windows form. I have since been able to trace the problem to a picturebox control on my form. I can...
13
by: Metallicraft | last post by:
I have a vb6 application. On the main form is a picture box with one or two images and several pieces of text displayed in it. These are created on the fly using gdi32 routines that are all in a...
3
by: Tom | last post by:
I have a Picturebox into which I load an image. Then I programaticaly add some text to that image (using graphics.drawstring). I then want to save the image out to disk -WITH- the text in the...
5
by: Steve Marshall | last post by:
Hi all, I am converting an app which used a picturebox to draw graphs etc onto, then saved them to a file. I can certainly draw things onto a picturbox in VB.NET, but how do I save them to a...
3
by: Chris Saunders | last post by:
I am fairly new to .Net and C# but am familiar with the Win32 API. I wish to set the pixels of the client area of a window one at a time with a specific color. I have so far discovered that...
9
by: davetelling | last post by:
I am not a programmer, I'm an engineer trying to make an interface to a product I'm designing. I have used C# to make a form that interrogates the unit via the serial port and receives the data. I...
0
by: James Jenkins | last post by:
Hi, I have created a custom transparent control that I need to late bind multiple times and add to a PictureBox control. I am doing this all ok but with a problem. The cpu usage goes sky high when...
5
by: Macias | last post by:
Hi, Please help me, how I can make a line drawing on PictureBox similar to MS paint. I thinking about this: click and hold button, move mouse and relase button. I'm trying useing this...
10
by: anuking | last post by:
Hi, I made a tool that compares the texts from 2 richtextboxes and then marks the characters that are different in red. An option needs me to overlap these 2 text data to show the exact...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.