alias_api.store_current_window

alias_api.store_current_window(filename: str, width: SupportsInt = 1280, height: SupportsInt = 1024, anit_alias: bool = False) int

Save the current Alias window to a file.

Supported file formats include:
  • TIFF (*.tif)

  • JPEG Files (*.jpg)

  • Bitmap Image Files (*.bmp)

Parameters
  • filename (str) – The path to the file, including file name, to save the resulting image to.

  • width (int) – The width (in pixels) of the resulting image. Defaults to 1280.

  • height (int) – The height (in pixels) of the resulting image. Defaults to 1024.

  • anti_alias (bool) – True to apply anti-aliasing to the resulting image, else False to not apply anti-aliasing. Defaults to False.

Returns

The resulting status code of the operation.

Return type

AlStatusCode