[]
Web API Studio Edition supports image export services for MVC and Wijmo 5 controls. Available as Visual Studio template, C1 Web API enables you to create Web API service on Visual Studio. Client applications then send a request to the Web API service application to export MVC and Wijmo 5 controls as an image. The service supports image export to PNG, JPG, BMP, TIFF, and GIFF formats.
While you are working with the image services for exporting MVC or Wijmo5 controls, you need to add phantomjs.exe file to your service application.
Web API Studio Edition supports image export services for MVC and Wijmo 5 controls. You need to add the Phantomjs.exe file in your Visual Studio Web API application for using image export services.
Complete the following steps to add phantomjs.exe file to your service application.
Copy Phantomjs.exe from local machine
Copy and paste the Phantomjs.exe file to the output folder(bin) of your WebAPI2.2 application. In case you do not have Phantomjs.exe file on your local machine, you can download it from https://phantomjs.org/.
OR
Install Phantomjs.exe through NuGet
In the Solution Explorer, right click References, and then select Manage NuGet Packages.
In NuGet Package Manager, input Phantomjs in the search box as shown in the image below.
Click Install to add Phantomjs to your application.
Copy Phantomjs.exe from local machine
Copy and paste the Phantomjs.exe file to the output folder(bin) of your WebAPI3 application. In case you do not have Phantomjs.exe file on your local machine, you can download it from https://phantomjs.org/.