PptxSaveOptions Class
Represents a class that stores saving options for PowerPoint Presentation file.
public sealed class PptxSaveOptions : SaveOptions
Public NotInheritable Class PptxSaveOptions
Inherits SaveOptions
- Inheritance:
- PptxSaveOptions
Remarks
To save a presentation as a slide show or a template, set PresentationType property to appropriate value.
To enable macros (embedded code written in a Visual Basic for Applications), set IsMacroEnabled property to true.
Constructors
PptxSaveOptions()
Initializes a new instance of the PptxSaveOptions class.
Properties
ContentType
Gets the content-type for PPTX file format: application/vnd.openxmlformats.
public override string ContentType { get; }
Public Overrides ReadOnly Property ContentType As String
Property Value
The content-type for PPTX file format.
Overrides
DigitalSignatures
Gets the digital signature options.
public IList<PptxDigitalSignatureSaveOptions> DigitalSignatures { get; }
Public ReadOnly Property DigitalSignatures As IList(Of PptxDigitalSignatureSaveOptions)
Property Value
The digital signature options.
ImageDpi
Gets or sets the saved images DPI.
Property Value
The saved images DPI.
Remarks
This property controls the image quality for all images in the file. Larger value results in better-quality images but increases the file size. Setting this property to 0 will disable image optimization. Standard DPI values are:
- 330 - Good quality for HD displays
- 220 - Good quality for most printers and displays
- 150 - Good quality for web pages and projectors
- 96 - Good quality for smaller file sizes
IsMacroEnabled
Gets or sets a value indicating whether the PresentationDocument instance that will be saved contains any macro (embedded code written in a Visual Basic for Applications).
Property Value
true if the PresentationDocument instance that will be saved contains any macro (embedded code written in a Visual Basic for Applications); otherwise, false.
Password
Gets or sets the password used to protect / encrypt the presentation.
Property Value
The password used to protect / encrypt the presentation.
PresentationType
Gets or sets the PowerPoint Presentation type of the PresentationDocument instance that will be saved.
public PowerPointPresentationType PresentationType { get; set; }
Public Property PresentationType As PowerPointPresentationType
Property Value
The PowerPoint Presentation type of the PresentationDocument instance that will be saved.
Inherited Properties
Image | Gets the default saving options for image file format. Image will be saved in Bmp format. (Inherited from SaveOptions) |
Gets the default saving options for Portable Document Format (PDF). (Inherited from SaveOptions) | |
Pptx | Gets the default saving options for PowerPoint Presentation (PPTX) format. (Inherited from SaveOptions) |
Xps | Gets the default saving options for XML Paper Specification (XPS) format. (Inherited from SaveOptions) |