JCL Help:WriteIcon@TStream@HICON@Boolean

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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


Pascal

 procedure WriteIcon(Stream: TStream; Icon: HICON; WriteLength: Boolean = False); overload;


Parameters

Parameters Description
Stream: TStream The stream object that receives the memory image of the icon.
Icon: HICON Handle of the icon.
WriteLength: Boolean = False Determines whether a Longint containing the data size. is written to the stream prior to the icon data.


Description

Use WriteIcon to write the icon image (specified by its handle) to a stream.
In contrast to TIcon.SaveToStream, WriteIcon does not force the number of colors in the icon image down to 16.


See Also

WriteIcon SaveIconToFile


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