ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIEFileDlgPreviewEvent

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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