Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

/Picture/Icon/Icon in console
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Picture/Icon/Icon in console
This example is the version from Tue, 3rd Dec 2012.
Project "Icon in console.rbp"
Class App Inherits ConsoleApplication
EventHandler Function Run(args() as String) As Integer dim desktop as FolderItem = SpecialFolder.Desktop dim i as new IconMBS(desktop) dim f as IconFamilyMBS = i.IconFamily dim m,p as Picture if f.GetIconImage(1024, p,m) then dim fm as FolderItem = SpecialFolder.Desktop.Child("desktop mask.jpg") dim fp as FolderItem = SpecialFolder.Desktop.Child("desktop pict.jpg") m.Save(fm, m.SaveAsJPEG, 80) p.Save(fp, p.SaveAsJPEG, 80) end if End EventHandler
End Class
End Project

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Picture Plugin.

MBS Xojo Chart Plugins