.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Easy Web
Imran Ghani

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Pixel not clear in BMP

Posted By: Rajakumar Sidhan     Posted Date: October 24, 2010    Points:2   Category :VB.Net
i am newbie to dot net graphics,i couldn't able to see pixel colors clearly after creation of BMP.what's wrong with my code any one help me plz urgent

Dim cr As New Bitmap(4, 4)
cr.SetPixel(0, 0, Color.Black)
cr.SetPixel(0, 1, Color.White)
cr.SetPixel(1, 0, Color.White)
cr.SetPixel(1, 1, Color.Black)
Prvwbox.Image = cr

Author: Narayanan             
Posted Date: October 12, 2011     Points: 20   

refer this link

Regards, Lakshmi Naraayanan.S

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend