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
 Could I define a New SelectionGridSize

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
Eric Posted - Dec 23 2011 : 00:02:53
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


3   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Dec 23 2011 : 08:31:04
Hi,
these are the coordinates of the (painted) image bounding box:

left = ImageEnView.OffsetX
top = ImageEnView.OffsetY
width = ImageEnView.ExtentX
height = ImageEnView.ExtentY
Eric Posted - Dec 23 2011 : 03:00:31
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.
fab Posted - Dec 23 2011 : 01:24:00
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;