ExportImage(string, GraphicsImageExportFormat, GraphicsImageExportSettings)

Exports the current graphics display to a 2D image file.

Declaration Syntax

public void ExportImage(string filePath, GraphicsImageExportFormat formatImage, GraphicsImageExportSettings settings)

Parameters

filePath(string)

The output image's file path. Non-existent directories will be created and pre-existing files will be overwritten.

formatImage(GraphicsImageExportFormat)

The 2D image format to use when exporting.

settings(GraphicsImageExportSettings)

The 2D image settings to use when exporting.