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
 Could I define a New SelectionGridSize
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Eric

18 Posts

Posted - Dec 23 2011 :  00:02:53  Show Profile  Reply
Hi,
if SelectionGridSize = 5 then It will display a 5 * 5 Grids. It is
very nice. But if I just need a 5 * 3 Grids, How Could I do. Thanks


fab

1310 Posts

Posted - Dec 23 2011 :  01:24:00  Show Profile  Reply
Hi,
at the moment it is not possible to specify n*m sizes.
From next minor release (or next beta) there will be two new properties named SelectionGridWidth and SelectionGridHeight, so you will be able to write:

ImageEnView.SelectionGridWidth:=5;
ImageEnView.SelectionGridHeight:=3;
Go to Top of Page

Eric

18 Posts

Posted - Dec 23 2011 :  03:00:31  Show Profile  Reply
Hi,
Thanks.
I try to draw lines with canvas. but there is a problem. those Lines are offsets beause ImageEnView and real Images have a blank area. How could i get
the coordinate of the blank area.
Go to Top of Page

fab

1310 Posts

Posted - Dec 23 2011 :  08:31:04  Show Profile  Reply
Hi,
these are the coordinates of the (painted) image bounding box:

left = ImageEnView.OffsetX
top = ImageEnView.OffsetY
width = ImageEnView.ExtentX
height = ImageEnView.ExtentY
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: