PDFCompressInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PDF Compress and Optimize
public class PDFCompressInput
type PDFCompressInput = class
Public Class PDFCompressInput
- Inheritance
-
PDFCompressInput
Constructors
| Name | Description |
|---|---|
| PDFCompressInput() | |
Properties
| Name | Description |
|---|---|
| Async |
Set async to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish. |
| Expiration |
Set the expiration time for the output link in minutes (default is 60 i.e 60 minutes or 1 hour), After this specified duration, any generated output file(s) will be automatically deleted from PDF.co temporary files storage. The maximum duration for link expiration varies based on your current subscription plan. |
| Name |
File name for the generated output |
| Password |
Password of the PDF file |
| Profiles |
Use this parameter to set additional configurations for fine-tuning and extra options. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples. |
| Url |
URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage. |