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
 How to select a particular object in TImageenVect
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
138 Posts

Posted - May 28 2017 :  12:40:42  Show Profile  Reply
In ImageenVect how do you select a particular object from the object list?

Procedure would look like: ImageenVect.SelectObject(3) to select the 4th vectoral object.

Thanks in advance

w2m

USA
1990 Posts

Posted - May 28 2017 :  14:21:14  Show Profile  Reply
var
  iHObj: Integer;
...
{ Get the object }
iHObj := ImageEnVect1.GetObjFromIndex(3);
{ Unselect all objects }
ImageEnVect1.UnSelAllObjects;
{ Select one object }
ImageEnVect1.AddSelObject(iHObj);
...

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