export_report_to_jpg#
- PostProcessor.export_report_to_jpg(project_dir, plot_name, width=0, height=0)[source]#
Export the SParameter plot to a JPG file.
- Parameters:
- project_dir
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 500 pixel in case of non-graphical mode.- height
int
,optional
Image height. Default is
0
which takes Desktop size or 500 pixel in case of non-graphical mode.
- project_dir
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.ExportImageToFile