Using PhotoWorks, you can create photo-realistic images of exceptional quality of SolidWorks models. PhotoWorks:
The PhotoWorks Application Programming Interface (API) is an OLE programming interface to PhotoWorks, which allows you to automate and customize PhotoWorks. The API contains functions that you can call from Visual Basic for Applications (VBA), VB.NET, C++ 6.0, C++.NET, and C#.NET. These functions provide direct access to the PhotoWorks environment. It is assumed that you are familiar with at least one of these programming languages and the PhotoWorks software.
This online reference manual documents the objects available in the PhotoWorks API, including their associated methods and properties.