Using the SDK to change a frame's contents from Text to Image
Hello,
In our plugin we sometimes need to change a text frame to an image frame.
Currently, using the SDK, we save the text frame's size, position, and the layer on which it is, and the create an picture frame of the same size, position and on the same layer (and then delete the text frame). This works, but limits us to transparent rectangular picture frames.
Is there a way, using the SDK, to change a text frame's contents from text to picture ?
We are able to do it for an empty text frame, but as soon as the text frame has had any text in it, it becomes impossible to change it to a picture frame.
Very best regards,
Olivier
