Save the object specified as an image. The image have the same name as the object.
public void CaptureObjectImage(DataModelObject obj, string mode, string folder)
The object for which an image will be saved.
A string representing the graphics format to use. One of : "PNG", "JPG", "TIF", "BMP", "EPS".
The folder into which the image file will be saved. An empty string ("") defaults to the project's user_files. This is a null operation if the specified folder does not exist.