Copy link to clipboard
Copied
Hi,
I am trying to change a Frame's Content from text to graphics, using the SDK.
Basically the SDK equivalent of the UI procedure shown below.
Very best regards,
Olivier
Copy link to clipboard
Copied
This seems to be be done via the command kConvertItemToFrameCmdBoss. Set the itemlist of the command to the uidref of the pageitem that needs to be converted and execute the command. Hopefully that would work
-Manan
Copy link to clipboard
Copied
Thank you very much, Manan.
I'll give it a try and report back.
Very best regards,
Olivier
Copy link to clipboard
Copied
Have a look at:
CGraphicPlaceBehavior.cpp
P.
Copy link to clipboard
Copied
Thank you very much, Pickory.
That unit seems to have cut/paste-able code :-).
I'll test it out.
Very best regards,
Olivier