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 make a new line layer have a dotted line style?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AdrianKnowles

USA
35 Posts

Posted - Sep 21 2023 :  00:16:34  Show Profile  Reply
Hi,
I create a new layer and add a line like so

Imageenview1.LayersAdd( Point(VertX1,VertY1), point(VertX2,VertY2));

I can change the line width by
Currentlayer.Borderwidth:= 3;

How can I change the pen/line style to make the solid line dotted?

Thanks,
Adrian

xequte

38457 Posts

Posted - Sep 21 2023 :  00:23:30  Show Profile  Reply
Hi Adrian

Please see the example at:

http://www.imageen.com/help/TIELineLayer.LineStyle.html

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

AdrianKnowles

USA
35 Posts

Posted - Sep 21 2023 :  07:28:29  Show Profile  Reply
Hi Nigel,
I had to change psDash to iegpDashDot and then worked fine.
Thanks,
Adrian
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: