image_orientation#
- file.image_orientation(p0: str) int #
Sets the image orientation for PCL and Postscript image formats
“portrait” is used if not specified.- Args:
- p0:
‘orientation’
portrait
landscape
- Examples:
ensight.file.image_format("postscript") ensight.file.image_color_type("black&white") ensight.file.image_file("/tmp/test_image") ensight.file.image_orientation("landscape") ensight.file.save_image()
- Returns:
zero on success, non-zero on error