CaptureModelView(int, string, string)

Save the view specified by index as an image.

Declaration Syntax

public void CaptureModelView(int index, string mode, string folder)

Parameters

index(int)

The index of the view to be saved.

mode(string)

A string representing the graphics format to use. One of : "PNG", "JPG", "TIF", "BMP", "EPS".

folder(string)

The folder into which the image file will be saved. An empty string ("") defaults to the project's user_files. This is a null operation if the specified folder does not exist.


Release 18.2 - © ANSYS, Inc. All rights reserved.