GraphicsFormats Xojo plugin |
|
RawICOImporter.OpenFromFile Method
Opens a ICO Image from a file, reading the bitmap by given index from the ICO file.

OpenFromFile(
f
as FolderItem,
directoryIndex
as Integer)
as RawBitmap
Parameters
- f
- The FolderItem to open the image from.
- directoryIndex
- Index of the Bitmap to read. (First bitmap is number zero). After you have read the first bitmap then you will have the LastDirectoryIndex property populated which will give you info of how many bitmaps are in the ICO file.
Returns
- RawBitmap
- Returns the imported Picture as RawBitmap.
Remarks
See Also
RawICOImporter Class