- Imports System.Drawing
- Imports System.Drawing.Drawing2D
- Public Class Form1
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Dim img As New Bitmap(PictureBox1.Image)
- Dim g = Graphics.FromImage(img)
- Dim sb As New SolidBrush(Color.FromArgb(70, 0, 0, 0))
- g.DrawString("Water Mark", New Font("Tahoma", 30, FontStyle.Bold), sb, 0, 0)
- PictureBox1.Image = img
- End Sub
- End Class
No comments:
Post a Comment