Microsoft made something you can import and you have all the features that are in paint.
I don't know what ones tho.
Ok, so lets say you have an image, and you has a text box. You insert text in the textbox. How would you make it appear on the picture?
My idea was to just put a label over it, but then you can't save it with the text on it...
Microsoft made something you can import and you have all the features that are in paint.
I don't know what ones tho.
herp herp:
[highlight=vb.net]
Private Sub DrawStringToPicture(ByVal thePicture As PictureBox, ByVal theString As String, ByVal theLocation As Point, ByVal theColor As Color, ByVal theFont As Font)
Using g As Graphics = Graphics.FromImage(PictureBox1.Image)
g.DrawString(theString, theFont, New SolidBrush(theColor), theLocation)
End Using
End Sub
[/highlight]
If you can't figure out how to use it...Idk.
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
-.-
[highlight="VB.Net"]Private Sub DrawStringToPicture(ByVal thePicture As PictureBox, ByVal theString As String, ByVal theLocation As Point, ByVal theColor As Color, ByVal theFont As Font)
Using g As Graphics = Graphics.FromImage(PictureBox1.Image)
g.DrawString(Textbox1.Text, theFont, New SolidBrush(theColor), theLocation)
End Using
End Sub [/highlight]
Cryptonic (05-03-2011)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
Blubb1337 (05-03-2011)
And How I set the Location :_p?
Sweet christ. LOOK AT THE GODFORESAKEN METHOD SIGNATURE.
There's parameters to control pretty much everything about the drawString. You can set what to write, where to write it, what font to write it in, and what color to write it in, WITHOUT HARDCODING THE METHOD BODY.
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)