My plugin is supposed to add a bunch of texts and images to illustrator document from an external source. I am able to apply the texts using setcontent on text frame. I am not able to figure out how to embed images programmatically. Images are in a known directory. My plugin is pure c++ - NO flash, NO cep, and built against both CS6 and CC 2015 sdk.
Any help/sample code/reference to api in sdk is appreciated.