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
 About deprecated LayersCreateFromText

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
lago Posted - May 13 2017 : 12:35:33
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.
2   L A T E S T    R E P L I E S    (Newest First)
lago Posted - May 14 2017 : 07:44:46
Hello Bill and thanks for help...

Solved, thanks you...

w2m Posted - May 13 2017 : 15:19:48
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