For cellviews there exists a function "hiExportImage" which allows to generate an image file for a given cellview, opened in a (eventually hidden) window -- at least this is what I've understood. This should allow me to generate illustrations for all cells in a library automatically. Nice.
My question is about CDF forms : How could I automatically export images for CDF forms ? There is a "hiWindowSaveImage" function which can take handles to different types of objects including windows and forms. So the problem would boil down to getting the handle to the CDF form of interest. And here I am stuck -- I don't see how to programmatically get a handle to the CDF form associated to a particular cell.
Any suggestions ?
Yes, that is the method I would like to avoid. My forms have "modes" (depending on some key parameters, the display of other parameters are activated or disactivated) and I'd like to automate the printing of snapshots for all these.