JCL Help:WriteIcon@TStream@HBITMAP@HBITMAP@Boolean

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Writes two bitmaps as an icon to a stream.


Pascal

 procedure WriteIcon(Stream: TStream; ColorBitmap: HBITMAP; MaskBitmap: HBITMAP; WriteLength: Boolean = False); overload;


Parameters

Parameters Description
Stream: TStream The stream object that receives the memory image of the icon.
ColorBitmap: HBITMAP Handle of the bitmap that holds the image data for the icon.
MaskBitmap: HBITMAP Handle of the bitmap that holds the mask data for 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.


See Also

WriteIcon BitmapToIcon


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