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
 Text question
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
499 Posts

Posted - Apr 20 2016 :  12:10:50  Show Profile  Reply
Why when I change the color of the pen, it also changes the font color? same thing when I change the font color, it also changes the color of the box drawn around the text.
Pierre

w2m

USA
1990 Posts

Posted - Apr 20 2016 :  12:58:09  Show Profile  Reply
Set the brush style to bsClear:
ObjBrushStyle[obj] := bsClear;

Now the border will be clear and the font color can be set to what you wish.
Look! at the Vectorial demo... it is all shown in the demo.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

pierrotsc

USA
499 Posts

Posted - Apr 20 2016 :  13:09:43  Show Profile  Reply
indeed. So I guess that answers my question. You cannot have the font and the border with different colors.
So there is really no need to me to change the font color. I can only change the pen color. If the style is clear, it will also change the font color. Weird as you have instructions to set both independently.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Apr 20 2016 :  13:24:38  Show Profile  Reply
I don't think you can, but try the demo and see if you can set both.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

pierrotsc

USA
499 Posts

Posted - Apr 20 2016 :  13:36:20  Show Profile  Reply
I think I did and the behavior was the same as my program.
Appreciate the feedback
Pierre
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: