Plug-in to select art for create jpg
Hello,
I'm trying to write a plug-in (C++) to get the current selection in the Adobe Illustrator, or to get the current document and create a png/jpg. I know I can do the "Export as", but I want to create the plug-in with the Illustrator SDK.
I already do that function :
AIArtHandle **artStore = NULL;
ai::int32 artCount = 0;
sAIMatchingArt->GetSelectedArt(&artStore, &artCount);
if (artStore != NULL) {
}
But I don't know how to convert this element to PNG/JPG