image_scale_factor#
- file.image_scale_factor(p0: float) int #
To scale a postscript image for the page size.
- Args:
- p0:
‘scale_value’ a value from 0 to 1 specifying portion of the page to use for printing
- 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.image_scale_factor(.5) ensight.file.save_image()
- Returns:
zero on success, non-zero on error