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
 Polylines with anchor points
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

email_toan

USA
11 Posts

Posted - Sep 15 2020 :  16:05:32  Show Profile  Reply
I'd like replicate the shape feature of Microsoft Word.

I can draw the desired shape using the AddLayer(ielkPolyline) method. However, I can't define anchor points, which would help maintain the shape when the layer is resized as well let the user customize the shape.

Attach is what I'd like to achieve. I read through the help documentation and can't seem to find reference to polygon point types. Is this doable with ImageEn?

Any help would be appreciated.


xequte

5500 Posts

Posted - Sep 15 2020 :  16:57:41  Show Profile  Reply
Hi

That is not possible for shape layers, but if you add the shape as points to a polyline layer, then you can edit the individual points:

ImageEnView1.LayersAdd( ielkPolyline );
TIEPolylineLayer( ImageEnView1.CurrentLayer ).SetPoints( iesStar5, True );
ImageEnView1.Update();


At this time, that is the closest equivalent in ImageEn.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

email_toan

USA
11 Posts

Posted - Sep 15 2020 :  17:47:08  Show Profile  Reply
OK, thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: