Cool Graphics Example In Visual Basic 2008

Publié le: 01 septembre 2009
sur la chaîne: environmentalnerd53
19,182
24

Visual Basic 2008 - cool Graphics Example. Just a tutorial on how to draw gradients and text in Visual Basic 2008.
Heres the code:
Dim myRectangle As New Drawing.Rectangle(0, 0, Width, Height)
Dim myGradient As New Drawing2D.LinearGradientBrush(myRectangle, Color.Green, Color.GreenYellow, 50, True)
e.Graphics.FillRectangle(myGradient, 0, 0, Width, Height)
Dim fontObj As Font = New System.Drawing.Font("Times", 24, FontStyle.Bold)
e.Graphics.DrawString("Environmentalnerd", fontObj, Brushes.DarkGreen, 0, 100)
Soz i haven't done tutorials in a while :\ been busy, but I can do more tutorials now :)


Sur cette page du site, vous pouvez voir la vidéo en ligne Cool Graphics Example In Visual Basic 2008 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur environmentalnerd53 01 septembre 2009, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 19,182 fois et il a aimé 24 téléspectateurs. Bon visionnage!