
## PdfSaveOptions class

Represents the options for saving pdf file.



**Inheritance:** [`PdfSaveOptions`](/cells/python-net/aspose.cells/pdfsaveoptions)



The PdfSaveOptions type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [`__init__(self)`](/cells/python-net/aspose.cells/pdfsaveoptions/__init__/#) | Creates the options for saving pdf file. |


### Properties
| Property | Description |
| :- | :- |
| [save_format](/cells/python-net/aspose.cells/pdfsaveoptions/save_format) |  |
| [clear_data](/cells/python-net/aspose.cells/pdfsaveoptions/clear_data) |  |
| [cached_file_folder](/cells/python-net/aspose.cells/pdfsaveoptions/cached_file_folder) |  |
| [validate_merged_areas](/cells/python-net/aspose.cells/pdfsaveoptions/validate_merged_areas) |  |
| [merge_areas](/cells/python-net/aspose.cells/pdfsaveoptions/merge_areas) |  |
| [create_directory](/cells/python-net/aspose.cells/pdfsaveoptions/create_directory) |  |
| [sort_names](/cells/python-net/aspose.cells/pdfsaveoptions/sort_names) |  |
| [sort_external_names](/cells/python-net/aspose.cells/pdfsaveoptions/sort_external_names) |  |
| [refresh_chart_cache](/cells/python-net/aspose.cells/pdfsaveoptions/refresh_chart_cache) |  |
| [warning_callback](/cells/python-net/aspose.cells/pdfsaveoptions/warning_callback) |  |
| [check_excel_restriction](/cells/python-net/aspose.cells/pdfsaveoptions/check_excel_restriction) |  |
| [update_smart_art](/cells/python-net/aspose.cells/pdfsaveoptions/update_smart_art) |  |
| [encrypt_document_properties](/cells/python-net/aspose.cells/pdfsaveoptions/encrypt_document_properties) |  |
| [default_font](/cells/python-net/aspose.cells/pdfsaveoptions/default_font) |  |
| [check_workbook_default_font](/cells/python-net/aspose.cells/pdfsaveoptions/check_workbook_default_font) |  |
| [check_font_compatibility](/cells/python-net/aspose.cells/pdfsaveoptions/check_font_compatibility) |  |
| [is_font_substitution_char_granularity](/cells/python-net/aspose.cells/pdfsaveoptions/is_font_substitution_char_granularity) |  |
| [one_page_per_sheet](/cells/python-net/aspose.cells/pdfsaveoptions/one_page_per_sheet) |  |
| [all_columns_in_one_page_per_sheet](/cells/python-net/aspose.cells/pdfsaveoptions/all_columns_in_one_page_per_sheet) |  |
| [ignore_error](/cells/python-net/aspose.cells/pdfsaveoptions/ignore_error) |  |
| [output_blank_page_when_nothing_to_print](/cells/python-net/aspose.cells/pdfsaveoptions/output_blank_page_when_nothing_to_print) |  |
| [page_index](/cells/python-net/aspose.cells/pdfsaveoptions/page_index) |  |
| [page_count](/cells/python-net/aspose.cells/pdfsaveoptions/page_count) |  |
| [printing_page_type](/cells/python-net/aspose.cells/pdfsaveoptions/printing_page_type) |  |
| [gridline_type](/cells/python-net/aspose.cells/pdfsaveoptions/gridline_type) |  |
| [gridline_color](/cells/python-net/aspose.cells/pdfsaveoptions/gridline_color) |  |
| [text_cross_type](/cells/python-net/aspose.cells/pdfsaveoptions/text_cross_type) |  |
| [default_edit_language](/cells/python-net/aspose.cells/pdfsaveoptions/default_edit_language) |  |
| [sheet_set](/cells/python-net/aspose.cells/pdfsaveoptions/sheet_set) |  |
| [draw_object_event_handler](/cells/python-net/aspose.cells/pdfsaveoptions/draw_object_event_handler) |  |
| [page_saving_callback](/cells/python-net/aspose.cells/pdfsaveoptions/page_saving_callback) |  |
| [emf_render_setting](/cells/python-net/aspose.cells/pdfsaveoptions/emf_render_setting) |  |
| [custom_render_settings](/cells/python-net/aspose.cells/pdfsaveoptions/custom_render_settings) |  |
| [embed_standard_windows_fonts](/cells/python-net/aspose.cells/pdfsaveoptions/embed_standard_windows_fonts) | True to embed true type fonts. <br/>Affects only ASCII characters 32-127.<br/>Fonts for character codes greater than 127 are always embedded.<br/>Fonts are always embedded for PDF/A-1a, PDF/A-1b standard.<br/>Default is true. |
| [bookmark](/cells/python-net/aspose.cells/pdfsaveoptions/bookmark) | Gets and sets the [`PdfBookmarkEntry`](/cells/python-net/aspose.cells.rendering/pdfbookmarkentry) object. |
| [compliance](/cells/python-net/aspose.cells/pdfsaveoptions/compliance) | Gets or sets the PDF standards compliance level for output documents. |
| [security_options](/cells/python-net/aspose.cells/pdfsaveoptions/security_options) | Set this options, when security is need in xls2pdf result. |
| [image_type](/cells/python-net/aspose.cells/pdfsaveoptions/image_type) | Represents the image type when converting the chart and shape . |
| [calculate_formula](/cells/python-net/aspose.cells/pdfsaveoptions/calculate_formula) | Indicates whether to calculate formulas before saving pdf file. |
| [pdf_compression](/cells/python-net/aspose.cells/pdfsaveoptions/pdf_compression) | Indicate the compression algorithm |
| [created_time](/cells/python-net/aspose.cells/pdfsaveoptions/created_time) | Gets and sets the time of generating the pdf document. |
| [producer](/cells/python-net/aspose.cells/pdfsaveoptions/producer) | Gets and sets producer of generated pdf document. |
| [optimization_type](/cells/python-net/aspose.cells/pdfsaveoptions/optimization_type) | Gets and sets pdf optimization type. |
| [custom_properties_export](/cells/python-net/aspose.cells/pdfsaveoptions/custom_properties_export) | Gets or sets a value determining the way [`CustomDocumentPropertyCollection`](/cells/python-net/aspose.cells.properties/customdocumentpropertycollection) are exported to PDF file. Default value is None. |
| [export_document_structure](/cells/python-net/aspose.cells/pdfsaveoptions/export_document_structure) | Indicates whether to export document structure. |
| [display_doc_title](/cells/python-net/aspose.cells/pdfsaveoptions/display_doc_title) | Indicates whether the window's title bar should display the document title. |
| [font_encoding](/cells/python-net/aspose.cells/pdfsaveoptions/font_encoding) | Gets or sets embedded font encoding in pdf. |
| [watermark](/cells/python-net/aspose.cells/pdfsaveoptions/watermark) | Gets or sets watermark to output. |
| [embed_attachments](/cells/python-net/aspose.cells/pdfsaveoptions/embed_attachments) | Indicates whether to embed attachment for Ole objects in Excel. |


### Methods
| Method | Description |
| :- | :- |
| [`set_image_resample(self, desired_ppi, jpeg_quality)`](/cells/python-net/aspose.cells/pdfsaveoptions/set_image_resample/#int-int) | Sets desired PPI(pixels per inch) of resample images and jpeg quality.  <br/>All images will be converted to JPEG with the specified quality setting, <br/>and images that are greater than the specified PPI (pixels per inch) will be resampled. |



### See Also
* module [`aspose.cells`](..)
* class [`CustomDocumentPropertyCollection`](/cells/python-net/aspose.cells.properties/customdocumentpropertycollection)
* class [`PdfBookmarkEntry`](/cells/python-net/aspose.cells.rendering/pdfbookmarkentry)
* class [`PdfSaveOptions`](/cells/python-net/aspose.cells/pdfsaveoptions)
