convert_to_pdf
Converts local document files (DOCX, PPTX, XLSX, images, text) into PDF format. Specify the file path and optional output settings.
Instructions
Convert a local document file (for example DOCX, PPTX, XLSX, images, or text formats) to PDF using the PDF4me ConvertToPdf API. Provide the local file path, plus optional output directory and output file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the input document file. | |
| output_dir | No | ||
| output_file_name | No |