PdfOptions Class
Provides options that control how a presentation is saved in Pdf format.
Inheritance Hierarchy
SystemObject
  Aspose.Slides.ExportSaveOptions
    Aspose.Slides.ExportPdfOptions

Namespace: Aspose.Slides.Export
Assembly: Aspose.Slides (in Aspose.Slides.dll) Version: 20.2.0.0 (20.2)
Syntax
public class PdfOptions : SaveOptions, IPdfOptions, 
	ISaveOptions

The PdfOptions type exposes the following members.

Constructors
  NameDescription
Public methodPdfOptions
Default constructor.
Properties
  NameDescription
Public propertyCode exampleAccessPermissions
Contains a set of flags specifying which access permissions should be granted when the document is opened with user access. See PdfAccessPermissions.
Public propertyAdditionalCommonFontFamilies
Returns or sets an array of user-defined names of font families which Aspose.Slides should consider common. Read/write string.
Public propertyApplyImageTransparent
Applies the specified transparent color to an image if true.
Public propertyBestImagesCompressionRatio
Indicates if the most effective compression (instead of the default one) for each image must be selected automatically. If set to [!:bool.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.
Remarks
Best image compression ratio selection is computationally expensive and takes an additional amount of RAM, and this option is [!:bool.False] by default.
Public propertyCompliance
Desired conformance level for generated PDF document. Read/write PdfCompliance.
Public propertyCode exampleDefaultRegularFont
Returns or sets font used in case source font is not found. Read-write String.
(Inherited from SaveOptions.)
Public propertyDrawSlidesFrame
True to draw black frame around each slide. Read/write Boolean.
Public propertyEmbedFullFonts
Determines if all characters of font should be embedded or only used subset. Read/write Boolean.
Public propertyEmbedTrueTypeFontsForASCII
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.
Public propertyImageTransparentColor
Gets or sets the image transparent color.
Public propertyJpegQuality
Returns or sets a value determining the quality of the JPEG images inside PDF document. Read/write Byte.
Public propertyNotesCommentsLayouting
Provides options that control how notes and comments is placed in exported document.
Public propertyPassword
Setting user password to protect the PDF document. Read/write String.
Public propertyProgressCallback
Represents a callback object for saving progress updates in percentage. See IProgressCallback.
(Inherited from SaveOptions.)
Public propertySaveMetafilesAsPng
True to convert all metafiles used in a presentation to the PNG images. Read/write Boolean.
Public propertyShowHiddenSlides
Specifies whether the generated document should include hidden slides or not. Default is false.
Public propertySufficientResolution
Returns or sets a value determining resolution of images inside PDF document.
Remarks

Property affects on file size, time of export and image quality.

The default value is 96.

Field Value

Type: 
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. Read/write Single.
Public propertyTextCompression
Specifies compression type to be used for all textual content in the document. Read/write PdfTextCompression.
Public propertyWarningCallback
Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback.
(Inherited from SaveOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also