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
 About deprecated LayersCreateFromText
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

lago

40 Posts

Posted - May 13 2017 :  12:35:33  Show Profile  Reply
Hello, porting my actual project to newest library version 7.0.0 i have a little problem with "LayersCreateFromText"...

From documentation i can read the next:

TImageEnView.LayersCreateFromText 7.0.0 Deprecated Instead use TImageEnView.LayersAdd text overload

The old LayersCreateFromText works fine except by color (TColor) parameter. Actually not apply color to text.

New ImageEnView1->LayersAdd works fine but i miss the old parameters like bAddShadow, iBlurRadius, Angle from LayersCreateFromText

Please, someone can help me with the color of oldest version? :)


Thanks for the great new library version.

w2m

USA
1990 Posts

Posted - May 13 2017 :  15:19:48  Show Profile  Reply
Look at the new help file TImageEnView Layers properties. All of the LayersCreateFromText parameters can be set by using the new version 7 layers property:

bAddShadow is TIEVSoftShadow.Enabled
iBlurRadius is now TIEVSoftShadow.Radius
Angle is now TIELayer.Rotate
Color is now
TIETextLayer(ImageEnView.CurrentLayer).Font.Color := TextLayerFontColorBox1.Selected;


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

lago

40 Posts

Posted - May 14 2017 :  07:44:46  Show Profile  Reply
Hello Bill and thanks for help...

Solved, thanks you...

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: