Take a survey

Developing Applications Using APIs > Working with PDF Utilities > Saving a PDF Document > Setting PDF document save options using the web service API

Setting PDF document save options using the web service API
To programmatically set the PDF document save options using the PDF Utilities web service API, perform the following tasks:
1.
2.
Create a PDFUtilityServiceService object by using your proxy class’ constructor.
3.
To set the save style, invoke the PDFUtilityServiceService object’s setSaveMode method and pass in the following:
A BLOB object representing the PDF document.
A PDFUtilitySaveMode object containing the save style to be used.
The method returns a BLOB object formatted using the specified save style. You can then save that object as a PDF document.
Similarly, to determine the save style that has already been applied to a PDF document, invoke the PDFUtilityServiceService object’s getSaveMode method and pass in a BLOB object representing the PDF document.
The method returns a PDFUtilitySaveMode object containing the save style.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/pdfUtilitySaving.111.4.html