answersLogoWhite

0

In VB.NET, you can draw graphics using the Graphics class, typically within the Paint event of a form or control. You can create an instance of Graphics by using the CreateGraphics() method or by handling the e.Graphics parameter in the Paint event. To draw shapes, you can use methods like DrawLine, DrawRectangle, or DrawEllipse, and to fill shapes, you can use FillRectangle or FillEllipse. Here's a simple example:

Protected Overrides Sub OnPaint(e As PaintEventArgs)
    e.Graphics.DrawLine(Pens.Black, 10, 10, 100, 100)
End Sub
User Avatar

AnswerBot

2mo ago

What else can I help you with?

Continue Learning about Visual Arts

Types of visuals representataion with some pictures?

There are various types of visual representations... the following are some and the images related to these will not be hard to find.. Sign Symbols Drawing Paintings Photography videos Graphics.... By RAMGUTTEE Teelock San Rccprince@yahoo.co.uk


What is graphics plotter?

its a plotter which print graphics with the help of machanism


What is the difference between memory drawing and imaginative drawing?

Memory drawing is exactly what it sounds like: pulling images from your memory and putting it down on paper. Imaginative drawing is thinking up something randomly and decide to draw. Imaginative drawing could be thinking of a fairy, or a dragon and then drawing it, or it could be just drawing whatever you feel. While memory does play a huge part in imaginative drawing, it is not the basis.


How much would wall graphics cost to be done?

The price of wall graphics can vary depending on how extensive the work is done and the quality of the work and the graphics themselves. The general price ranges from twenty to one hundred dollars.


What program does inkscape look like?

Inkscape resembles other vector graphics editing programs like Adobe Illustrator and CorelDRAW, featuring a user-friendly interface with a toolbar, drawing tools, and layers. It provides capabilities for creating and editing scalable vector graphics (SVG) and includes options for manipulating shapes, text, and colors. Its open-source nature makes it accessible to users who prefer free alternatives to commercial software. Overall, it combines advanced vector editing features with an intuitive design.

Related Questions

Program a line roating about xy plane using C plus plus programming?

C++ has no built-in graphics methods, including line drawing. Graphics is platform-specific and, as such, requires a graphics API and library specific to your platform and hardware. As a result, there is no generic, one-size-fits-all C++ code for drawing graphics of any kind.


Can you fix vbnet code?

yes, but need to check more details about that.


Miniprojects on vbnet in hotel management source code?

hi,thisrakesh


Is Alice is a 3D graphics drawing program?

False


Algorithm for drawing circle in context of computer graphics?

Bresham's Mid point circle drawing algorithm.


Two examples of drawing software are?

A joystick and a graphics tablet?


What are the similarities of bitmap and vector graphics?

Difference between a vector and bitmap graphics is that a vector is a format of a drawing whereas bitmap is a format of a photo. * the advantages of a vector is that the drawing can be stretched to any size without ruining the quality and bitmap is faster to display .Bitmap graphics as being stored in a literal fashion, then Vector Graphics, stored representative are their opposites


Which compiler is best compiler and why in computer graphics?

Compilers have nothing to do with graphics. Compilers translate source code into object code, nothing more. Graphics is hardware-dependant and is a function of a graphics library specific to that hardware. Graphics libraries do not need to be compiled, they simply need to be linked to your code.


What is engineering graphics?

Drawing is the language of Engineers. Any thing related engineering and technology are documented mainly through drawing only. The study about engineering drawings, its application and method of documentation is known as engineering graphics.


What is 2d drawing and 3d drawing in autocad?

Drawing / Drafting various objects and shapes with proper dimensions and representing them in 2-D and 3-D graphics in autocad .


What sort of work did Pablo Picasso do?

Painting, drawing, graphics, sculpture, ceramics...


What are different medium of the arts?

Painting, drawing, sculpture, graphics, video, film, ...