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
 TImageEnView border
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Mar 03 2019 :  06:00:24  Show Profile  Reply
When I set:

ImageEnView1.BorderStyle := bsSingle;


... then I get a 1-pixel black-color border:



How can I get a thicker red-color border?

xequte

38615 Posts

Posted - Mar 03 2019 :  13:33:41  Show Profile  Reply
In v8.3.0, you can just set the layer[0] border (Layer 0 is the background image).

ImageEnView1.CurrentLayer.BorderColor := clRed;
ImageEnView1.CurrentLayer.BorderWidth := 10;

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: