ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamFilePreview.ICustomPreviewHandler.Load

Provide code that loads the file given in the event arguments.

Syntax
Pascal
function Load(sender: TJamFilePreview; const pPath: String): boolean; overload;
Parameters 
Description 
sender: TJamFilePreview 
The FilePreview component. Can be used as visual parent for the components providing the custom preview. 
const pPath: String 
The file path of the file to be loaded. 

true, if the preview was loaded successfully, false otherwise