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
 line question

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
pierrotsc Posted - May 27 2021 : 12:02:24
I am puzzled. When i draw a line by clicking, using ActiveImageEnView().MouseInteractLayers :=
[mlEditLayerPoints, mlClickCreateLineLayers];

i only get the end point. Nothing is drawn. not sure if i have to setup a brush.
See attached.

5   L A T E S T    R E P L I E S    (Newest First)
pierrotsc Posted - Sep 21 2021 : 17:28:19
never mind. i did find my coding error. I have been overwriting the default.
pierrotsc Posted - Sep 21 2021 : 17:15:35
i even added
ImageEnView1.LayerDefaults.Values[ IELP_LineColor ] := 'clRed';
ImageEnView1.LayerDefaults.Values[ IELP_LineWidth ] := '6';



pierrotsc Posted - Sep 21 2021 : 17:11:09
still cannot find the problem. if i have shapes at the start or end, they show but the line does not. Is there a way to find out the line color ? I assume i have a statement somewhere that makes the line invisible.
pierrotsc Posted - May 27 2021 : 18:36:56
same behavior. that's not it..it has to be something i am doing. let me work on it..the weird thing is that adding point to create a polyline work fine.
xequte Posted - May 27 2021 : 18:15:31
Hi

It's possible the line/border is not set (width = 0 or Color = clNone).

Try settings some layer defaults:

https://www.imageen.com/help/TImageEnView.LayerDefaults.html

e.g.
ImageEnView1.LayerDefaults.Values[ IELP_BorderColor ] := '$008000FF';
ImageEnView1.LayerDefaults.Values[ IELP_BorderWidth ] := '3';


Nigel
Xequte Software
www.imageen.com