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....



OnSlideRendered


Unit:SDL_thumbnails
Class: TThumbnails
Declaration: property OnSlideRendered: TSlideRenderedEvent;
{TSlideRenderedEvent = procedure (Sender: TObject; Canvas: TCanvas; X, Y: integer; ThumbID: integer) of object;}

The OnSlideRendered event occurs after a slide has been completely rendered on the thumbnail canvas. Further details on this event can be found in the TSlideRenderedEvent description.

Hint: In order to avoid unwanted size effects regarding characters displayed on canvases of different resolution (i.e. the screen and a printer) you should never directly assign the font size within the event. Use SetCanvasFontSizeScaled instead. So, for example, the statement Canvas.Font.Size := 12; should be replaced by SetCanvasFontSizeScaled (Canvas, 12);



Last Update: 2012-Oct-25