JCL Help:SaveIconToFile

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Writes an icon to a file, allowing for > 16 colors.


Pascal

 procedure SaveIconToFile(Icon: HICON; const FileName: string);


Parameters

Parameters Description
Icon: HICON The icon to save, specified by its handle.
const FileName: string The name of the file to which to write the icon data.


Description

SaveIconToFile writes the icon to a file, specified by FileName.
In contrast to TIcon.SaveToFile, WriteIcon does not force the number of colors in the icon image down to 16.


See Also

WriteIcon


About

Unit

JclGraphics


Donator

Robert Rossmair


Platforms

Win32


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page