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
 Polylines with anchor points

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
email_toan Posted - Sep 15 2020 : 16:05:32
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.


2   L A T E S T    R E P L I E S    (Newest First)
email_toan Posted - Sep 15 2020 : 17:47:08
OK, thanks.
xequte Posted - Sep 15 2020 : 16:57:41
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