T O P I C R E V I E W |
yogiyang |
Posted - Jan 16 2019 : 06:49:43 Hello,
I have a requirement where in I have to allow user to duplicate selected layers and then Flip them Horizontally.
Here is a sample image:
The user will select a few layers as needed and duplicate all selected layers and then Flip them and move them in the other part of image.
Here is a sample:
TIA
Yogi Yang |
4 L A T E S T R E P L I E S (Newest First) |
yogiyang |
Posted - Jan 16 2019 : 23:39:46 Hello Nigel,
Thanks for the timely tip. I was reading the help file for finding a way to achieve this and I just read about it!
And this method is very fast also.
Regards,
Yogi Yang |
xequte |
Posted - Jan 16 2019 : 21:59:55 Hi Yogi
Why not just flip the layer image?
TIEImageLayer( ImageEnView1.Layers[ i ]).Bitmap.Flip( fdHorizontal ); ImageEnView1.Update();
Nigel Xequte Software www.imageen.com
|
yogiyang |
Posted - Jan 16 2019 : 21:53:26 Yes, I have already coded the part that will duplicate selected layers.
The problem part is Flipping them Horizontally and/or vertically (as I cannot find any property/method attached to Layer that will allow one to Flip the layer) and then finally calculating their position.
TIA
Yogi Yang |
zerob |
Posted - Jan 16 2019 : 13:18:36 I think you have to duplicate them, flip them and move them into a new position one by one. (Each layer in a loop) |