NXOpen.UF.Disp.PrintWindowUgImage

Disp.PrintWindowUgImage()

Refer to UF_DISP_print_window_ug_image for documentation.

Signature: PrintWindowUgImage(format, colorUsage)

Parameters:
  • format (int) – Specifies the format of the printed image. 0: A vector-format image is printed. 1: A raster-format (bitmap) image is printed. If only wireframe views are displayed, then a vector-format image is printed even if the format parameter is set to 1.
  • colorUsage (int) – Specifies how color is used in the printed image. 0: If a vector image is printed, line color is determined by the setting of the Black Lines Only option in the File->Print dialog. If a raster image is printed, the image background is the same as the background of the graphics window. 1: If a vector image is printed, line color is determined by the setting of the Black Lines Only option in the File->Print dialog. If a raster image is printed, the image background is white. 2: If a vector image is printed, lines are printed in color (or shades of gray on a monochrome printer). If a raster image is printed, the image background is the same as the background of the graphics window. 3: If a vector image is printed, all lines are printed in black. If a raster image is printed, the image background is white.

License requirements: None