SaveOptions

23 Sep 20251 minute to read

Represents the options used to save a document.
These options include the file name, file type, and the URL for the save action.

Properties

fileName string

The name of the file to be saved. This name will be used as the default file name
when the document is downloaded.

pdfLayoutSettings pdfLayoutSettings

The layout settings to use when saving a document as a PDF.
These settings can control aspects like page orientation (portrait or landscape)
or fit-to-one-page functionality.

saveType SaveType

The type of the file to be saved. By default, the file will be saved in Excel format.
Supported file types might include formats such as Excel, CSV, or PDF.

url string

Specify the URL where the document will be sent for saving.