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
 ImageEnMView - Load an image in multiple parts
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

exchangeviews

India
39 Posts

Posted - Apr 13 2015 :  13:30:13  Show Profile  Reply
I need to load an image in ImageEnMView control but in 3 parts. A way to split it up in 3 parts top, middle and bottom before loading and then load as 3 images of a single image. Any inbuilt method? please help?

Example:

w2m

USA
1990 Posts

Posted - Apr 13 2015 :  16:09:08  Show Profile  Reply
procedure TForm1.Split1Click(Sender: TObject);
begin
  ImageEnMView1.Clear;
  ImageEnMView1.AppendSplit(ImageEnView1.IEBitmap, ImageEnView1.IEBitmap.Width,
     ImageEnView1.IEBitmap.Height div 3);
  ImageEnMView1.Update;
end;

ImageEnMView1.Width := 600;
ImageEnMView1.ThumbnailClipping := 10;
ImageEnMView1.SetModernStyling(False, 550, 150);




Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

exchangeviews

India
39 Posts

Posted - Apr 16 2015 :  05:02:25  Show Profile  Reply
Thanks Bill. It is working great.
Any update on following:
http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=1921
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: