We must create a Rectangle object before we can draw an ellipse in visual basic 2015. This rectangle serves as a bounding rectangle for the ellipse. However, you still need to use the DrawEllipse method to finish the job. On the other hand, we can also draw an ellipse with the DrawEllipse method without first creating a rectangle. We shall show you both ways.In the first method, let's say you have created a rectangle object known as myRectangle and a pen object as myPen, then you can draw an ellipse using the following statement:
To learn the details of drawing ellipse and circle, we suggest you grab a copy of Visual Basic 2015 Made Easy.
AUTHOR: DR. LIEW VOON KIONGVisual Basic 2015 Made Easy is written by Dr. Liew, the webmaster of our popular online Visual Basic Tutorial, vbtutor.net. This book is a complete guide to mastering Visual Basic 2015, from beginner to intermediate programmers. This book has been written to complement our free online Visual Basic 2015 tutorial with much more content. It is also an excellent reference text for high school or college-level computer science courses. Reading this book will allow you to:
This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.
If you require assistant and technical support, please email