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
|