windows 8   


ForumComputersArticlesOperating SystemsSocial NetworksInternetTechnology NewsBooksGamesProduct Reviews



Forums » Club House » General »

What is graphics class?


Posted Date: 29 Jun 2011      Posted By:: Bharath     Member Level: Gold    Member Rank: 26     Points: 3   Responses: 1



This thread is used to discuss about the topic 'What is graphics class?'.

Can anyone say about this topic briefly. And say about your suggestions.

I need the brief description about this topic and say what is the use of graphics class. And kindly say in what way this graphics class being used.

All the members are requested to say your suggestions by posting the responses.

Regards,
Bharath
Gold member - MyWindowsClub
Silver member - ChennaiSpider

"Live life for Passion"





Responses

#7167    Author:       Member Level: Silver      Member Rank: 71     Date: 24/Oct/2011   Rating: 2 out of 52 out of 5     Points: 4

In .Net Graphics class is provides methods to draw objects on to the display device including forms.
This class belongs to System.Drawing namespace. This class cannot be inherited and encapsulates GDI + drawing surface.
using following piece of code you can draw a diagonal line.
private void Form1_Load(object sender, EventArgs e)
{
Graphics board = this.CreateGraphics();
Pen p = new Pen(Color.Black, 2.5f);
board.DrawLine(p, 100,150, 100, 100);
}




Post Reply
You must Sign In to post a response.
Next : How the designing part used in remote interface?
Previous : How the Remote Method Invocation(RMI) being used?
Return to Discussion Forum
Post New Message
Category: General

Related Messages

Subscribe to Technology Articles by Email



Awards & Gifts


My Profile

Online MembersScott DeCleene
More...

Active Members
TodayLast 7 Daysmore...


RSS Feeds Resource Feeds
Forum Feeds
Job Feeds



About Us    Trademark Disclaimer    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John