Document.ExportImage
Description:
Exports a view or set of views into an image file.
Exports a view or set of views into an image file.
public void ExportImage(
ImageExportOptions options
)
-
optionsThe options which govern the image export.
-
The current view cannot be exported as an image
-
A non-optional argument was null
-
The path indicated could not be accessed.
-
The path indicated could not be found.
-
Exporting is not allowed in the current application mode. -or- Failed to export image due to an error with the inputs. -or- Failed to export image due to an issue where the DirectX Device was lost.
-
The Graphics module is not available in the installed Revit.