Advertisement
Advertisement
| 05.09.2008 at 07:46AM PDT, ID: 23389511 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 05.09.2008 at 08:23AM PDT, ID: 21533797 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: |
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AnnotateImage("C:\temp\test.jpg", TextBox1.Text, "C:\temp\testout.jpg")
End Sub
Private Sub AnnotateImage(ByVal Filename As String, ByVal Message As String, ByVal FileNameOut As String)
Dim bmp As New Bitmap(Filename)
Dim g As Graphics = Graphics.FromImage(bmp)
Dim f As New Font("Arial", 12, FontStyle.Bold)
Dim Layout As New RectangleF(3, 3, bmp.Width - 6, bmp.Height - 6)
g.DrawString(Message, f, Brushes.White, Layout)
bmp.Save(FileNameOut, System.Drawing.Imaging.ImageFormat.Jpeg)
g.Dispose()
bmp.Dispose()
End Sub
End Class
|
| 05.09.2008 at 08:31AM PDT, ID: 21533888 |
1: 2: 3: 4: 5: 6: 7: 8: 9: |
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim bmp As New Bitmap(TextBox1.Width, TextBox1.Height)
TextBox1.DrawToBitmap(bmp, New Rectangle(New Point(0, 0), TextBox1.Size))
PictureBox1.Image = bmp
End Sub
End Class
|
| 05.09.2008 at 08:33AM PDT, ID: 21533924 |
1: 2: 3: |
Dim bmp As New Bitmap(TextBox1.Width, TextBox1.Height)
TextBox1.DrawToBitmap(bmp, New Rectangle(New Point(0, 0), TextBox1.Size))
bmp.Save("c:\someFile.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
|
| 05.10.2008 at 03:30PM PDT, ID: 21540761 |