GraphicsFormats Xojo plugin

RawICOExporter.SaveToFile Method

Saves a single bitmap to a ICO file.

SaveToFile(
   image as RawBitmap,
   f as FolderItem)

Parameters

image
The bitmap to be saved into ICO file. This must be RGB color space, and 8 bit per channel bitmap.
f
A FolderItem that defines the destination of the ICO file.

Remarks

Note this method will clear images that have been added with AddBitmap.

This method is basically macro for:
Clear added bitmaps
AddBitmap (one bitmap)
SaveBitmapsToFile

See Also

RawICOExporter Class