Indicates if the most effective compression (instead of the default one) for each image must be selected automatically. If set to boolean.true, for every image in presentation the most appropriate compression algorithm will be chosen, what will lead to the smaller size of the resulting PDF document. Best image compression ratio selection is computationally expensive and takes an additional amount of RAM, and this option is boolean.false by default. Default value is false.
Result:
boolean
getComplianceLevel {#getComplianceLevel}
Name
Description
getComplianceLevel ()
Desired conformance level for generated PDF document. Read/write PdfComplianceLevel. Default value is PdfComplianceLevel#Pdf17.
Result:
int
getDefaultRegularFont {#getDefaultRegularFont}
Name
Description
getDefaultRegularFont ()
Returns or sets font used in case source font is not found. Read-write String.
Result:
String
getEmbedFullFonts {#getEmbedFullFonts}
Name
Description
getEmbedFullFonts ()
Determines if all characters of font should be embedded or only used subset. Read/write boolean. Default value is false.
Determines if Aspose.Slides will embed common fonts for ASCII (33..127 code range) text. Fonts for character codes greater than 127 are always embedded. Common fonts list includes PDF's base 14 fonts and additional user specified fonts. Read/write boolean. Default value is true.
Result:
boolean
getIncludeOleData {#getIncludeOleData}
Name
Description
getIncludeOleData ()
True to convert all OLE data from the presentation to embedded files in the resulting PDF. Read/write boolean. Default is false.
Result:
boolean
getJpegQuality {#getJpegQuality}
Name
Description
getJpegQuality ()
Returns or sets a value determining the quality of the JPEG images inside PDF document. Read/write byte. Has effect only when a document contains JPEG images. Use this property to get or set the quality of the images inside a document when saving in PDF format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression. The default value is 100.
Result:
byte
getPassword {#getPassword}
Name
Description
getPassword ()
Setting user password to protect the PDF document. Read/write String.
Indicates whether text should be rasterized as a bitmap and saved to PDF when the font does not support bold styling. This approach can enhance the quality of text in the resulting PDF for certain fonts. Read/write boolean. Default value is false.
Result:
boolean
getSaveMetafilesAsPng {#getSaveMetafilesAsPng}
Name
Description
getSaveMetafilesAsPng ()
True to convert all metafiles used in a presentation to the PNG images. Read/write boolean. Default is true. Pdf document can contain vector graphics and raster images. If SaveMetafilesAsPng is set to true then source Metafile image is converted to Png format and saved to Pdf as a raster image. If SaveMetafilesAsPng is set to false then source Metafile is converted to Pdf vector graphics. Each approach has advantages and disadvantages. For example, if Metafile is converted to PNG, then some quality loss is possible during resulting document scaling. If Metafile is converted to Pdf vector graphics, then performance issues in Pdf viewing tool are possible.
Result:
boolean
getShowHiddenSlides {#getShowHiddenSlides}
Name
Description
getShowHiddenSlides ()
Specifies whether the generated document should include hidden slides or not. Default value is false.
Result:
boolean
getSlidesViewOptions {#getSlidesViewOptions}
Name
Description
getSlidesViewOptions ()
Gets or sets the mode in which slides are placed on the page when converting a presentation. Read-write SlidesViewOptions.
Returns or sets a value determining resolution of images inside PDF document. Read/write float. Value: Effect of this parameter depends on few factors. Algorithm tries to get best output image size according to the property value, source image size and image frame size. Using of similar property values may give the same result. Recommended to use step 16 or 32 to get visible effect. Property affects on file size, time of export and image quality. The default value is 96.
Indicates if the most effective compression (instead of the default one) for each image must be selected automatically. If set to boolean.true, for every image in presentation the most appropriate compression algorithm will be chosen, what will lead to the smaller size of the resulting PDF document. Best image compression ratio selection is computationally expensive and takes an additional amount of RAM, and this option is boolean.false by default. Default value is false.
setComplianceLevel {#setComplianceLevel}
Name
Description
setComplianceLevel (int)
Desired conformance level for generated PDF document. Read/write PdfComplianceLevel. Default value is PdfComplianceLevel#Pdf17.
setDefaultRegularFont {#setDefaultRegularFont}
Name
Description
setDefaultRegularFont (String)
Returns or sets font used in case source font is not found. Read-write String.
setEmbedFullFonts {#setEmbedFullFonts}
Name
Description
setEmbedFullFonts (boolean)
Determines if all characters of font should be embedded or only used subset. Read/write boolean. Default value is false.
Determines if Aspose.Slides will embed common fonts for ASCII (33..127 code range) text. Fonts for character codes greater than 127 are always embedded. Common fonts list includes PDF's base 14 fonts and additional user specified fonts. Read/write boolean. Default value is true.
setIncludeOleData {#setIncludeOleData}
Name
Description
setIncludeOleData (boolean)
True to convert all OLE data from the presentation to embedded files in the resulting PDF. Read/write boolean. Default is false.
setJpegQuality {#setJpegQuality}
Name
Description
setJpegQuality (byte)
Returns or sets a value determining the quality of the JPEG images inside PDF document. Read/write byte. Has effect only when a document contains JPEG images. Use this property to get or set the quality of the images inside a document when saving in PDF format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression. The default value is 100.
setPassword {#setPassword}
Name
Description
setPassword (String)
Setting user password to protect the PDF document. Read/write String.
Indicates whether text should be rasterized as a bitmap and saved to PDF when the font does not support bold styling. This approach can enhance the quality of text in the resulting PDF for certain fonts. Read/write boolean. Default value is false.
setSaveMetafilesAsPng {#setSaveMetafilesAsPng}
Name
Description
setSaveMetafilesAsPng (boolean)
True to convert all metafiles used in a presentation to the PNG images. Read/write boolean. Default is true. Pdf document can contain vector graphics and raster images. If SaveMetafilesAsPng is set to true then source Metafile image is converted to Png format and saved to Pdf as a raster image. If SaveMetafilesAsPng is set to false then source Metafile is converted to Pdf vector graphics. Each approach has advantages and disadvantages. For example, if Metafile is converted to PNG, then some quality loss is possible during resulting document scaling. If Metafile is converted to Pdf vector graphics, then performance issues in Pdf viewing tool are possible.
setShowHiddenSlides {#setShowHiddenSlides}
Name
Description
setShowHiddenSlides (boolean)
Specifies whether the generated document should include hidden slides or not. Default value is false.
Returns or sets a value determining resolution of images inside PDF document. Read/write float. Value: Effect of this parameter depends on few factors. Algorithm tries to get best output image size according to the property value, source image size and image frame size. Using of similar property values may give the same result. Recommended to use step 16 or 32 to get visible effect. Property affects on file size, time of export and image quality. The default value is 96.