Adding images into PDF documents programmatically with JavaScript via C++ sample code using Aspose.PDF for JavaScript via C++... Use the GSave operator to save the current graphical state...operator to save the updated graphical state. Save the PDF file...