T O P I C R E V I E W |
graphman |
Posted - Dec 04 2013 : 13:04:01 TIEFileDlgPreviewEvent = procedure(Sender:TObject; Viewer:TObject; FileName:string; ParamsOnly:boolean) of object;
How to change an object type of Viewer from TImageEnVect to TImageEnMView?
There is unsupported ImageEn format.
I can tranform this file to multipage TIFF file and want to view this file in preview. But in this case Viewer is TImageEnVect only. |
4 L A T E S T R E P L I E S (Newest First) |
graphman |
Posted - Dec 09 2013 : 15:58:27 Yes, of course. |
xequte |
Posted - Dec 09 2013 : 14:19:04 You can specify any extension for PreviewAdditionalMultipageExts, but then you need to ensure that you handle the OnPreviewFile event.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
graphman |
Posted - Dec 05 2013 : 16:03:55 Can I add unsupported format? |
xequte |
Posted - Dec 04 2013 : 15:42:16 Hi
The Viewer will always be a TImageEnMView when previewing multi-frame files (videos, DCX, animated gifs and multipage TIFFs) and a TImageEnVect for all other types.
However you can specify that your type is a multi-image type by adding its extension to IEGlobalSettings().PreviewAdditionalMultipageExts:
http://www.imageen.com/help/TIEImageEnGlobalSettings.PreviewAdditionalMultipageExts.html
Nigel Xequte Software www.xequte.com nigel@xequte.com |