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 create a fixed angle object
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Eric

18 Posts

Posted - Oct 27 2013 :  22:33:48  Show Profile  Reply
Hi,
How could I automatic create a fixed angle object with "miPutAngle".
Thanks

John

USA
94 Posts

Posted - Oct 28 2013 :  19:56:11  Show Profile  Reply
If you are asking how to place an angle on a canvas in code look at the following excerpt from 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();

TIA

John
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: