Aspose::TeX::Presentation::Pdf::PdfSaveOptions class

PdfSaveOptions class

Class representing options of saving to PDF.

class PdfSaveOptions : public Aspose::TeX::Presentation::SaveOptions

Methods

MethodDescription
get_EncryptionDetails() constGets a encryption details. If not set, then no encryption will be performed.
get_ImageCompression() constSpecifies compression type to be used for all images in the document. Default is PdfImageCompression::Auto.
get_JpegQualityLevel() constThe Quality category specifies the level of compression for an image. Available values are 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. 0 value results in lowest quality image, while 100 results in highest.
get_OutlineTreeExpansionLevel() constSpecifies up to what level the document outline should be expanded when the PDF file is viewed. 1 - only the first level outline items are shown, 2 - only the first and second level outline items are shown, and so on. Default is 1.
get_OutlineTreeHeight() constSpecifies the height of the document outline tree to save. 0 - the outline tree will not be converted, 1 - only the first level outline items will be converted, ans so on.
get_TextCompression() constSpecifies at which level in the document outline to display ApsBookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.
PdfSaveOptions()Creates new instance of options.
set_EncryptionDetails(System::SharedPtr<PdfEncryptionDetails>)Sets a encryption details. If not set, then no encryption will be performed.
set_ImageCompression(PdfImageCompression)Specifies compression type to be used for all images in the document. Default is PdfImageCompression::Auto.
set_JpegQualityLevel(int32_t)The Quality category specifies the level of compression for an image. Available values are 0 to 100. The lower the number specified, the higher the compression and therefore the lower the quality of the image. 0 value results in lowest quality image, while 100 results in highest.
set_OutlineTreeExpansionLevel(int32_t)Specifies up to what level the document outline should be expanded when the PDF file is viewed. 1 - only the first level outline items are shown, 2 - only the first and second level outline items are shown, and so on. Default is 1.
set_OutlineTreeHeight(int32_t)Specifies the height of the document outline tree to save. 0 - the outline tree will not be converted, 1 - only the first level outline items will be converted, ans so on.
set_TextCompression(PdfTextCompression)Specifies at which level in the document outline to display ApsBookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

See Also