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 do we insert IEObjectAngle programmatically
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

JeppeR

Denmark
9 Posts

Posted - Mar 15 2013 :  01:05:19  Show Profile  Reply
Hi there Fabrizio - it's been a while :o)

I am unable to insert an angle object programmatically. The angle property
has no public setter, and the top and left properties are ignored (as I see
it).

Could you provide a hint?

Best regards
Jeppe

w2m

USA
1990 Posts

Posted - Mar 15 2013 :  10:38:50  Show Profile  Reply
Look at the help file:
procedure SetObjAnglePoints(hobj: integer; Points: array of TPoint);

Description
Sets the three points used to define an angle objects (iekAngle).

Parameter Description
hobj Object handle.
Points Array of three points used to define the angle.

Example
ImageEnVect1.ObjKind[IEV_NEXT_INSERTED_OBJECT] := iekAngle;
ImageEnVect1.SetObjAnglePoints(IEV_NEXT_INSERTED_OBJECT, [Point(10, 10), Point(50, 50), Point(10, 100)]);
ImageEnVect1.AddNewObject();

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

JeppeR

Denmark
9 Posts

Posted - Mar 16 2013 :  02:26:49  Show Profile  Reply
Hi there and thank you very much for the reply.

I can see that I was not precise enough. I am using the .NET component (IEvolution2), and can not see that it has any corresponding methods.

I am trying to insert an IEObjectAngle from code.

Best regards
Jeppe
Go to Top of Page

fab

1310 Posts

Posted - Mar 20 2013 :  04:32:17  Show Profile  Reply
There isn't a way to setup an angle by code, using IEvolution.
Next version will be able to do it.
Go to Top of Page

JeppeR

Denmark
9 Posts

Posted - Mar 20 2013 :  04:35:19  Show Profile  Reply
Hi Fabrizio :)

Alright ... Sad news, but thank you for answering.
When do you think the next version will come out?

Best regards
Jeppe
Go to Top of Page

fab

1310 Posts

Posted - Mar 20 2013 :  10:56:39  Show Profile  Reply
I don't know the exact date. It will be available ASAP.
Go to Top of Page

JeppeR

Denmark
9 Posts

Posted - Mar 20 2013 :  12:45:27  Show Profile  Reply
Great - thnx :o)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: