XLTX to PDF API

The API for converting Excel XLTX documents to PDF files.

API Request:

Copy parameter's URL Secret Secret
Optional

String Authentication secret must be provided as a query parameter. If omitted, token must be provided.

Show all

Copy parameter's URL Token Token
Optional

String Authentication token must be provided as a query parameter. If omitted, secret must be provided.

Show all

Copy parameter's URL File File
Required

File File to be converted. Value can be URL or file content.

Show all

Copy parameter's URL StoreFile Store file
Optional

Bool Store converted file on our secure server and provides download URL.

Default: False

Show all

Copy parameter's URL FileName File name
Optional

String Converted output file name without extension. The extension will be added automatically.

Show all

Copy parameter's URL Timeout Timeout
Optional

Integer Conversion timeout in seconds.

Default: 900

Range: 10 .. 1200

Show all

Copy parameter's URL Password Open Password
Optional

String Sets the password to open protected documents.

Show all

Copy parameter's URL WorksheetActive Worksheet Active
Optional

Bool Set to convert active worksheet. If value is set False all worksheet will be converted.

Default: False

Show all

Copy parameter's URL WorksheetIndex Worksheet Index
Optional

Integer Set worksheet index(number) to convert. If value is not set all worksheet will be converted.

Range: 1 .. 2000

Show all

Copy parameter's URL WorksheetName Worksheet Name
Optional

String Set worksheet name to convert. If value is not set all worksheet will be converted.

Show all

Copy parameter's URL ConvertMetadata Convert metadata
Optional

Bool Convert document metadata like Title, Author, Keywords to PDF metadata.

Default: True

Show all

Copy parameter's URL ThousandsSeparator Thousands separator
Optional

String Thousands separator.

Default: ,

Show all

Copy parameter's URL DecimalSeparator Decimal separator
Optional

String Thousands separator.

Default: .

Show all

Copy parameter's URL PageOrientation Page orientation
Optional

Collection Page orientation.

Default: default

Values: default, portrait, landscape

Show all

Copy parameter's URL PageSize Page size
Optional

Collection Page size.

Default: default

Values: default, letter, lettersmall, tabloid, ledger, legal, statement, executive, a3, a4, a4small, a5, b4, b5, folio, quarto, 10x14, 11x17, note, envelope9, envelope10, envelope11, envelope12, envelope14, csheet, dsheet, esheet, envelopedl, envelopec3, envelopec4, envelopec5, envelopec6, envelopec65, envelopecb4, envelopeb5, envelopeb6, envelopeeurope, envelopem, envelopeusa, fanfoldusa, fanfoldgerman, lfanfoldgerman

Show all

Copy parameter's URL AutoFit Auto Fit
Optional

Bool Auto fit columns and rows.

Default: False

Show all

Copy parameter's URL ClearPrintArea Clear Print Area
Optional

Bool Clear the print area in the converting document.

Default: False

Show all

Copy parameter's URL Scale Scale Content
Optional

Integer Set content scale value in percentage.

Range: 10 .. 300

Show all

Show parameters

Snippets are autogenerated according to converter parameter choices above. Please select file in "File" or "Files" parameter before using code snippets.

Code snippet is using ConvertAPI JavaScript Client

Code snippet is using ConvertAPI Node.js Client

Code snippet is using ConvertAPI PHP Client

Code snippet is using ConvertAPI Java Client

Code snippet is using ConvertAPI C# Client

Code snippet is using ConvertAPI Ruby Client

Code snippet is using ConvertAPI Python Client

Code snippet is using ConvertAPI Go Client

Code snippet is using command line utility program

For conversions with the multiple file result please refer to the example