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
 layers sync

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
pierrotsc Posted - May 20 2018 : 17:55:29
I just noticed that when my layer 0 does not fill out the screen and I add another image layer on top of it, they are not aligned. the new layer is a little bit to the right and down. when layer 0 fit the screen, I think it works. I think I used to have a sync all layers function but I do not think that is available anymore. advice ?
Thanks
8   L A T E S T    R E P L I E S    (Newest First)
pierrotsc Posted - May 24 2018 : 11:48:33
This is the exact message
[dcc32 Error] Umain.pas(3818): E2250 There is no overloaded version of 'LayersAdd' that can be called with these arguments

ImageEnVect.LayersAdd( imageenvect.IEBitmap.Width, imageenvect.IEBitmap.Height, ie24RGB, 0, 0 ); works.

But i had found another way around too:
ImageEnVect.LayersAdd(ielkImage);
ImageEnVect.CurrentLayer.PosX := IELayer_Pos_HCenter;
ImageEnVect.CurrentLayer.PosY := IELayer_Pos_VCenter;

Best
xequte Posted - May 23 2018 : 17:14:31
Hi

This works fine when I test it here on Berlin:

ImageEnVect1.LayersAdd(ielkImage,0,0);

How about:
ImageEnVect1.LayersAdd( 100, 100, ie24RGB, 0, 0 );

or simply:
ImageEnVect1.LayersAdd();
ImageEnVect1.CurrentLayer.PosX := 0;
ImageEnVect1.CurrentLayer.PosY := 0;

Nigel
Xequte Software
www.imageen.com
pierrotsc Posted - May 23 2018 : 08:14:34
Berlin
xequte Posted - May 23 2018 : 06:27:17
Hi

What version of Delphi are you using?



Nigel
Xequte Software
www.imageen.com
pierrotsc Posted - May 21 2018 : 16:28:18
Something that is no overloaded function. I can get you the exact error if you want to.
xequte Posted - May 21 2018 : 16:27:22
Hi

What was the error message?


Nigel
Xequte Software
www.imageen.com
pierrotsc Posted - May 21 2018 : 08:35:54
Could you show me the syntax ?
if i write
ImageEnVect.LayersAdd(ielkImage,0,0);

I get an error.
Thanks
xequte Posted - May 21 2018 : 01:53:58
Hi

That is not due to LayersSync, but that ImageEn now automatically shifts new layers down and to the right (to make them easier to edit).

You should just set PosX and PosY to zero in your LayersAdd method. All the overloads support it:

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



Nigel
Xequte Software
www.imageen.com