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
 How to create an empty layer.

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
Dennis445a Posted - Nov 03 2026 : 13:09:03
I am probly missing it in the docs.

How can I create an empty layer or a blank layer that I can use for brush strokes or as an adjustment layer.

And two other question.

With TIELayerProps under the style tab and with softshadows, would it be possible to add a color button to set the shadow color (I can do this seperatly but a nice to have option)?

I also noticed that if you have a ellipsis magnification layer and add a border it adds it as a box and not around the ellipis.

Thanks for your help.

dm
9   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 10 2026 : 16:30:26
I've added a Text Color button to the IERichEdit demo, so please test it in that after the next release (v15.5.1).

Nigel
Xequte Software
www.imageen.com
Dennis445a Posted - Nov 10 2026 : 11:37:43
I tried this " if Editor.SelLength > 0 then
Editor.SelAttributes.Color := btnFontColor.SelectedColor;
else
Editor.DefAttributes.Color := btnFontColor.SelectedColor;"

So it tested it with TRichEdit and it work's and Tested it with LMDRichEdit and it works but for some reason with ImageEn RichEdit it doesn't work. It's okay for now as I decieded that its's a seperated project for later. I will let you know what I figure out for boolean stuff.

dm
xequte Posted - Nov 09 2026 : 21:11:04
Thanks Dennis

Regarding adding blank layers, remember that you can just edit the layer bitmap like any other layer:

// Add a that is red and 50% transparent
ImageEnView1.LayersAdd( ielkImage, 100, 100, 500, 500 );
bmp := TIEImageLayer( ImageEnView1.CurrentLayer ).Fill( clRed, 128 );

I'm not seeing the RichEdit issue you mention. Does this work for you:

  if Editor.SelLength > 0 then
    Editor.SelAttributes.Color := btnFontColor.SelectedColor;
  else
    Editor.DefAttributes.Color := btnFontColor.SelectedColor;


I'll look at layer merging for a later release.

Nigel
Xequte Software
www.imageen.com
Dennis445a Posted - Nov 09 2026 : 19:29:42
Also, you did a great job with this component lib, I am finding new ways to use it. Sometimes I write a routine just find out you have an easier way for me to do it. for example found this yesterday "DeleteSelectedImages;" I was handling it code and now I don't have to.

dm
Dennis445a Posted - Nov 09 2026 : 19:25:28
I did a couple of methods, one at a transparent layer however that went different then I expected, I know that the default color of the base layer is the same as the fill on the empty layer. So I have put that on hold until I finish some other features. As far as booleans I am trying a few thing as cut and merge layers but it's not a prioraty (Yet). So far it seams to be at the ordering and choosing the first layer as the base and top layers as cut layers. still working out the combine as it needs to rebuild the line points and keep the fill. And to think it all started as a basic screen capture tool. On another note in RichEdit the CaptureRE.SelAttributes.Color := FontColorREBtn.SelectedColor; doesn't work but CaptureRE.SelAttributes.BackColor := FontColorREBtn.SelectedColor; does.

dm
xequte Posted - Nov 09 2026 : 13:59:32
That could be possible. I'm just not sure how the feature could be surfaced (e.g. combine all layers in the same group??). Do you have any ideas for that?

Nigel
Xequte Software
www.imageen.com
Dennis445a Posted - Nov 05 2026 : 10:02:14
So when using CaptureView.LayersAdd(); it adds a layer but fills it with a color. I suspect it's the default background color. I am able to create a layer with no fill color using ImageEnMView and that works properly.

And one other question is there any plans for booleen support in the future (Add, Subtract, Combine shape layers)?

Thanks again.

dm
Dennis445a Posted - Nov 04 2026 : 12:05:25
Thanks Nigel

dm
xequte Posted - Nov 04 2026 : 00:11:40
Hi Dennis

A blank layer is just an unfilled image layer, so you can use ImageEnView1.LayersAdd(); or ImageEnView1.LayersAdd( 800, 600 );

http://www.imageen.com/help/TImageEnView.LayersAdd.html

I have added Soft Shadow color support to TIELayerProps dialog in the current beta. Also a circular selection shape for elliptical magnification layers.

Nigel
Xequte Software
www.imageen.com