Pascal
procedure tsImageAssignFrom(ImageID: tsImageID; FromImageID: tsImageID);
C/C++
void tsImageAssignFrom(tsImageID ImageID, tsImageID FromImageID);
Copies the image data from the image FromImageID to the image ImageID. Creates an copy of FromImageID.
In this image the data will be copied.
The source image that contains the image data.
If there was no context bound.
If you tries to copy an image that is to large. So the copy will be aborted with the out of memory error.
This occours if you trie to copy an empty image.
This will happen if you pass an invalid ImageID to this function.
There was an unknown error. Please inform me in which case this happens.