{"id":5184,"date":"2014-03-31T14:22:39","date_gmt":"2014-03-31T06:22:39","guid":{"rendered":"http:\/\/www.vbtutor.net\/?p=5184"},"modified":"2015-05-07T20:07:40","modified_gmt":"2015-05-07T12:07:40","slug":"drawing-text-screen","status":"publish","type":"post","link":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/","title":{"rendered":"Drawing Text on Screen"},"content":{"rendered":"<p>We may have learned how to draw rectangle, ellipse and circle in visual basic 2013 , but do you know that we can draw text on the screen? Yes, indeed you can draw text on the screen.<\/p>\n<p>In order to draw text on the screen, we can use the DrawString method. The format is as follows:<\/p>\n<p>myGraphics.DrawString(myText, myFont, mybrush, X , Y)<\/p>\n<p>Where myGraphics is the Graphics object, myText is the text you wish to display on the screen, myFont is the font object created by you, myBrush is the brush style created by you and X, Y are the coordinates of upper left corner of the Text.<\/p>\n<p>You can create the Font object in visual basic 2013 using the following statement:<\/p>\n<p>myFont = New System.Drawing.Font(\u201cVerdana\u201d, 20)<\/p>\n<p><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-28-creating-graphics-drawing-text\/\">Read More &#8230;&#8230;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We may have learned how to draw rectangle, ellipse and circle in visual basic 2013 , but do you know that we can draw text on the screen? Yes, indeed you can draw text on the screen. In order to draw text on the screen, we can use the DrawString method. The format is as &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Drawing Text on Screen<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5184","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Drawing Text on Screen - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Drawing Text on Screen - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"og:description\" content=\"We may have learned how to draw rectangle, ellipse and circle in visual basic 2013 , but do you know that we can draw text on the screen? Yes, indeed you can draw text on the screen. In order to draw text on the screen, we can use the DrawString method. The format is as &hellip; Continue reading Drawing Text on Screen\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Vbtutor\" \/>\n<meta property=\"article:published_time\" content=\"2014-03-31T06:22:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-07T12:07:40+00:00\" \/>\n<meta name=\"author\" content=\"Liew Voon Kiong\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@liewvk\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Liew Voon Kiong\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\"},\"author\":{\"name\":\"Liew Voon Kiong\",\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d\"},\"headline\":\"Drawing Text on Screen\",\"datePublished\":\"2014-03-31T06:22:39+00:00\",\"dateModified\":\"2015-05-07T12:07:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\"},\"wordCount\":132,\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\",\"url\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\",\"name\":\"Drawing Text on Screen - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"datePublished\":\"2014-03-31T06:22:39+00:00\",\"dateModified\":\"2015-05-07T12:07:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Drawing Text on Screen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vbtutor.net\/#website\",\"url\":\"https:\/\/www.vbtutor.net\/\",\"name\":\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"description\":\"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d\",\"name\":\"Liew Voon Kiong\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g\",\"caption\":\"Liew Voon Kiong\"},\"url\":\"https:\/\/www.vbtutor.net\/index.php\/author\/ajt7051vbt\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Drawing Text on Screen - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/","og_locale":"en_US","og_type":"article","og_title":"Drawing Text on Screen - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","og_description":"We may have learned how to draw rectangle, ellipse and circle in visual basic 2013 , but do you know that we can draw text on the screen? Yes, indeed you can draw text on the screen. In order to draw text on the screen, we can use the DrawString method. The format is as &hellip; Continue reading Drawing Text on Screen","og_url":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_published_time":"2014-03-31T06:22:39+00:00","article_modified_time":"2015-05-07T12:07:40+00:00","author":"Liew Voon Kiong","twitter_card":"summary_large_image","twitter_creator":"@liewvk","twitter_site":"@liewvk","twitter_misc":{"Written by":"Liew Voon Kiong","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/#article","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/"},"author":{"name":"Liew Voon Kiong","@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d"},"headline":"Drawing Text on Screen","datePublished":"2014-03-31T06:22:39+00:00","dateModified":"2015-05-07T12:07:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/"},"wordCount":132,"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/","url":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/","name":"Drawing Text on Screen - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"datePublished":"2014-03-31T06:22:39+00:00","dateModified":"2015-05-07T12:07:40+00:00","author":{"@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d"},"breadcrumb":{"@id":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vbtutor.net\/index.php\/2014\/03\/31\/drawing-text-screen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"Drawing Text on Screen"}]},{"@type":"WebSite","@id":"https:\/\/www.vbtutor.net\/#website","url":"https:\/\/www.vbtutor.net\/","name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.","inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d","name":"Liew Voon Kiong","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g","caption":"Liew Voon Kiong"},"url":"https:\/\/www.vbtutor.net\/index.php\/author\/ajt7051vbt\/"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts\/5184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/users\/23013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=5184"}],"version-history":[{"count":1,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts\/5184\/revisions"}],"predecessor-version":[{"id":5185,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts\/5184\/revisions\/5185"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=5184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=5184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=5184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}