ShellBrowser Delphi Components Documentation
|
Allows using a stream to show a file's preview.
procedure LoadFromStream(const pStream: TStream; const pExtension: String);
Parameters |
Description |
const pStream: TStream |
Stream that contains the file content |
const pExtension: String |
Extension of the file that is supposed to be previewed. Must be a valid extension including the leading ".". |
The PreviewHandler that is used is solely determined by the passed extension, not by the contents of the stream.
Exceptions |
Description |
Raises an exception if a temporary file could not be created or renamed |