export_report_to_jpg#
- PostProcessor3DLayout.export_report_to_jpg(project_path, plot_name, width: int = 800, height: int = 450, image_format: str = 'jpg') bool#
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
800which takes Desktop size or 800 pixel.- height
int,optional Image height. Default is
450which takes Desktop size or 450 pixel.- image_format
str,optional Format of the image file. The default is
"jpg".
- project_path
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oModule.ExportImageToFile