export_report_to_jpg#
- PostProcessorCircuit.export_report_to_jpg(project_path, plot_name, width=0, height=0, image_format='jpg')#
Export plot to an image file.
- Parameters:
- project_path
str
Path to the project directory.
- plot_name
str
Name of the plot to export.
- width
int
,optional
Image width. Default is
0
which takes Desktop size or 1980 pixel in case of non-graphical mode.- height
int
,optional
Image height. Default is
0
which takes Desktop size or 1020 pixel in case of non-graphical mode.- image_format
str
,optional
Format of the image file. The default is
"jpg"
.
- project_path
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.ExportImageToFile