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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Hi I need to know in ImageEnView = VisibleFrame
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

juanjose

5 Posts

Posted - May 05 2013 :  07:56:15  Show Profile  Reply
Hi I need to know in ImageEnView1 component as you can know which frame is a video file, like Option ImageEnMView1.VisibleFrame.

w2m

USA
1990 Posts

Posted - May 06 2013 :  05:46:13  Show Profile  Reply
Do you mean something like this?
procedure TForm1.ImageEnMView1ImageSelect(Sender: TObject; idx: Integer);
var
  iFileType: TIOFileType;
begin
  iFileType := ImageEnMView1.MIO.Params[idx].FileType;
  if iFileType = ioAVI then
    ShowMessage('The frame is an AVI file.');
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

xequte

39056 Posts

Posted - May 06 2013 :  12:52:01  Show Profile  Reply
Hi

The current index of a video/animated GIF/TIFF/DICOM file can be read using;

ImageEnView1.IO.Params.ImageIndex



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: