Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
Camera Offer


Code to use brush in vb.net
Question Posted on 24 Sep 2011

Home >> DotNet >> VB.NET >> Code to use brush in vb.net




Below code is used to do drawing first

Imports System.Drawing
Imports System.Drawing.Imaging
Partial Class Usebrush
  Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  Dim b As New Bitmap(150, 150, PixelFormat.Format32bppArgb)
  Dim g As Graphics = Graphics.FromImage(b)
  Dim br As Brush = Brushes.Yellow
  g.FillEllipse(br, 5, 5, 140, 140)
  Response.ContentType = "image/gif"
  b.Save(Response.OutputStream, ImageFormat.Gif)
  b.Dispose()
End Sub
End Class
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
number of time a charcter occur
How to check wheather character is string or numeric
How to check internet explorer is running
How to get number of hits to website in vb.net
Code to create XML file in vb.net






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |