This article is the extension of the past article How to crate Image Thumbnails in vb.net( The article shows how to create a user control for viewing all images of the directory or folder in a thumbnail view).
Yesterday an user comment on my article ‘How to create a round button in vb.net’, he need a round button with 3D affect. So i write this article about how we can give the 3d look to button control.
The following example learns how to draw text with emboss effect as image in Picturebox using vb.net This example requires a PictureBox control named PictureBox1, two NumericUpDown controls( one for font size another for Depth) and one textbox.
In this article we will see that how we can open an image in photoshop application using vb.net. The following example requires two button control named Button1 and Button2 and need to add reference of ‘Adobe Photoshop object Library’ in the application. With the help of this code we can open an image on … Continue reading How to open an image in Photoshop using vb.net
The following code sample shows how we can get hex value from System.Drawing.Color using vb.net.
The following example will draw a red arrow on windows form. Private Sub Form1_Paint(ByVal sender As System.Object, _ ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint Dim grp As Graphics = e.Graphics Dim TempPen As New Pen(Color.Red, 3) TempPen.StartCap = Drawing2D.LineCap.ArrowAnchor grp.DrawLine(TempPen, 100, 50, 20, 50) End Sub
In this article we will discuss about how we can convert an image file from one image format to another like .jpg to .gif or .jpg to .png using vb.net.
You can draw a scroll button on a scroll bar control in the specified state, on the specified graphics surface, and within the specified bound with the help of ControlPaint.DrawScrollButton Method using vb.net You can use ControlPaint.DrawScrollButton Method like as : Public Shared Sub DrawScrollButton ( _ graphics As Graphics, _ rectangle As Rectangle, … Continue reading How to draw scroll button on a scroll bar control on windows form in vb.net
You can draw a three-dimensional style border on the specified graphics surface and within the specified bounds on a control with the help of ControlPaint.DrawBorder3D Method using vb.net You can use ControlPaint.DrawBorder3D Method like as : Public Shared Sub DrawBorder3D (grp As Graphics,rect As Rectangle) Example Following example draw a 3D style border on … Continue reading How to draw 3D border on windows form in vb.net
You can draw a drop-down button on a combo box control in the specified state, on the specified graphics surface, and within the specified bounds with the help of ControlPaint.DrawComboButton Method using vb.net You can use ControlPaint.DrawComboButton Method like as : Public Shared Sub DrawComboButton ( grp As Graphics, rect As Rectangle, state As … Continue reading Draw ComboButton on the windows form using vb.net