Hello, I use the parameters ImageEnView.CurrentLayer.UserData and ImageEnView1.CurrentLayer.UserDataLen. Both works fine. Now I want to transfer the LayerX to another LayerY, but with the parameters UserData. I do it like this: ImageEnVectX.CurrentLayer.Assign(ImageEnViewY.CurrentLayer); But unfortunately the UserData parameters are not transferred. ImageEnviewY has the Params UserData but ImageEnVectX has not the params. What do I have to do ?
Because we don't know what UserData contains we cannot safely assign it. It may be an allocated buffer or object, so transferring/copying it could cause memory leaks or invalid deallocations.