|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GuiPack Thumbnails Constants and Type Declarations TImageRequestEvent|
|See also: TImageRequestProcessing, ColorMark, DrawMarkOnCanvas, OnImageRequest|
The TImageRequestEvent type declares the event which occurs when the TThumbnails component needs a thumbnail image to draw. In the event handler the image addressed by the parameter ThumbID has to be loaded and passed on to the variable parameter ImgBuffer. The variable parameters HowToProcess and Markit define how the addressed thumbnail will be processed.
HowToProcess may take one of four values determining whether the thumbnail image is displayed, or an empty slide is presented, or only the frame of the slide is shown, or no slide at all is displayed (see TImageRequestProcessing for more details). If the parameter MarkIt is positive the slide is marked at the top left corner by displaying a marking which corresponds to this parameter. The color of the marking is determined by the property ColorMark.