Icon.Width : Icon « System.Drawing « VB.Net by API






Icon.Width

  
Imports System.Drawing.Drawing2D
Imports System.Windows.Forms
Imports System.Drawing
public class MainClass
   public Shared Sub Main
        ' Create an Icon
        Dim curIcon As New Icon("1.ico")
        ' Set Form's icon
        'Me.Icon = curIcon
        
        Console.WriteLine(curIcon.Height)
        Console.WriteLine(curIcon.Width)
        Console.WriteLine(curIcon.Size)
   End Sub
End class

   
    
  








Related examples in the same category

1.New Icon(String fileName)
2.Icon.Height
3.Icon.Size
4.Icon.ToBitmap()