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
 IEVolution .NET IETextLayer

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
Deeron Posted - Oct 27 2021 : 07:30:38
Hello,

I have two questions about the IEVolution .NET (v8.0.0.0) layers.

1. Is it possible to mirror text from right to left or left to right for IETextLayer?

2. When creating IETextLayer, FillColor and FillColor2 are transparent by default, if I change it to a different color, how can I change it to transparent afterwards? Color.Transparent does not work in this case.

Regards,
Deeron
11   L A T E S T    R E P L I E S    (Newest First)
Deeron Posted - Feb 12 2022 : 16:47:24
Hi Nigel,

Thanks.

Regards,
Deeron
xequte Posted - Feb 10 2022 : 21:27:34
Hi Deeron

This is fixed in the current beta, which will be released shortly.

You can now remove the background with

myTextLayer.FillColor = Color.Empty;

The same works for FillColor2.

IELayer.FillOpacity will be used to regulate background transparency.


Nigel
Xequte Software
www.imageen.com
Deeron Posted - Nov 11 2021 : 07:58:26
Hi Nigel,

Thanks for looking into the problem, I look forward to an update.

Regards,
Deeron
xequte Posted - Nov 10 2021 : 17:07:34
Hi Deeron

Unfortunately this looks to be an issue in IEvolution. We'll need to address that in the next update.



Nigel
Xequte Software
www.imageen.com
Deeron Posted - Oct 30 2021 : 12:34:22
Hi Nigel,

"Does setting the color to FFFFFFFF reverts it to transparent?"
Unfortunately, does not reverts, the background will be white. :(

If IEvolution doesn't use the Alpha channel of the ARGB value, how is it possible set the transparent background for the iETextLayer (most likely for the other layers as well) after changing the background color?

Regards,
Deeron
xequte Posted - Oct 29 2021 : 21:07:15
Hi Deeron

Because of its Delphi underpinnings, IEvolution does not make use of the A channel of an ARGB value. Does setting the color to FFFFFFFF revert it to transparent?

Nigel
Xequte Software
www.imageen.com
Deeron Posted - Oct 29 2021 : 06:23:13
Hello,

"What is the default value of iETextLayer.FillColor, i.e. before you set it to a color?"

FFFFFFFF (255, 255, 255, 255) is the default value for FillColor and FillColor2 and the iETextLayer background is visually transparent.

I honestly don't understand how this default value ARGB Alpha color (FF) can be transparent.

The ARGB Alpha value (255 dec, FF hex) should be completely opaque and the (0 dec, 00 hex) value should be completely transparent, right?

Regards,
Deeron
xequte Posted - Oct 28 2021 : 19:17:32
Hi Deeron

What is the default value of iETextLayer.FillColor, i.e. before you set it to a color?

Nigel
Xequte Software
www.imageen.com
Deeron Posted - Oct 28 2021 : 10:13:02
Hello,

"2. You should be able to set the FillColor to SysNone ($1FFFFFFF or 536870911)."

This is interesting.
This doesn't work for me, the background color will be white, it won't be transparent whatever value I give to Alpha (0-255).

I tried it like this:

IETextLayer iETextLayer = (IETextLayer)ieViewer1.Image.CurrentLayer;
iETextLayer.FillColor = Color.FromArgb(31,255,255,255); //$1FFFFFFF
iETextLayer.FillColor2 = Color.FromArgb(31, 255, 255, 255); //$1FFFFFFF


Unfortunately, this does not work for the IEShape layer either. :(

Regards,
Deeron
Deeron Posted - Oct 28 2021 : 02:30:21
Thanks, Nigel.
xequte Posted - Oct 27 2021 : 23:36:32
Hi Deeron

1. Sorry, IELayer.Flip is not available in IEvolution. You will need to convert it to an image layer, then flip the image

2. You should be able to set the FillColor to SysNone ($1FFFFFFF or 536870911).



Nigel
Xequte Software
www.imageen.com